RGB LCD+Keypad, using Adafruit_CharLCDPlate.py- error access

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
theob610
 
Posts: 12
Joined: Sat Mar 09, 2013 4:02 am

RGB LCD+Keypad, using Adafruit_CharLCDPlate.py- error access

Post by theob610 »

So when running the Adafruit_CharLCDPlate.py code, I get this error

Code: Select all

Error accessing default I2C bus
How can I solve this?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: RGB LCD+Keypad, using Adafruit_CharLCDPlate.py- error ac

Post by adafruit_support_rick »

What kind of Raspberry Pi are you running?

Have you configured your Pi for I2C?
http://learn.adafruit.com/adafruits-ras ... guring-i2c

User avatar
donde
 
Posts: 192
Joined: Wed May 25, 2011 1:52 am

Re: RGB LCD+Keypad, using Adafruit_CharLCDPlate.py- error ac

Post by donde »

I have trouble too with almost same setup, except the LCD is the simple Blue version. I get a different error message, I'm sure a different problem. I was using this Pi Plate with the Internet Radio project, but had to stop because of trouble. I decided to try the Pi Plate as a standard setup to test the LCD plus keypad combination. The error I receive is this, the same I get with Internet Radio project. So, can't test the LCD Pi Plate with both projects.

Traceback (most recent call last):
File "Adafruit_CharLCDPlate.py", line 442, in <module>
lcd = Adafruit_CharLCDPlate()
File "Adafruit_CharLCDPlate.py", line 93, in __init__
self.i2c.address, self.MCP23017_IOCON_BANK1, 0)
IOError: [Errno 5] Input/output error

theob610
 
Posts: 12
Joined: Sat Mar 09, 2013 4:02 am

Re: RGB LCD+Keypad, using Adafruit_CharLCDPlate.py- error ac

Post by theob610 »

My problem was running it without root privileges. Thanks!

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”