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/

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

by theob610 on Mon Sep 30, 2013 2:50 pm

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?
theob610
 
Posts: 12
Joined: Sat Mar 09, 2013 3:02 am

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

by adafruit_support_rick on Mon Sep 30, 2013 4:58 pm

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
adafruit_support_rick
 
Posts: 8585
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

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

by donde on Tue Oct 01, 2013 9:36 am

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
donde
 
Posts: 105
Joined: Wed May 25, 2011 12:52 am

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

by theob610 on Tue Oct 01, 2013 10:36 am

My problem was running it without root privileges. Thanks!
theob610
 
Posts: 12
Joined: Sat Mar 09, 2013 3:02 am