0

I2C problems
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

I2C problems

by duncanh on Mon Aug 10, 2015 2:06 pm

I am using a QUAD ALPHANUMERIC DISPLAY - YELLOW 0.54" DIGITS W/ I2C BACKPACK and 2 16MM ILLUMINATED PUSHBUTTON - GREEN MOMENTARY hooked up to my Raspberry Pi.
I am trying to get the 2 push buttons to run through the I2C but having problems getting it to work.
What am I doing wrong or do I have to get different buttons?

duncanh
 
Posts: 6
Joined: Mon Aug 10, 2015 11:34 am

Re: I2C problems

by adafruit_support_mike on Mon Aug 10, 2015 6:54 pm

Those switches aren't I2C devices. They're just pushbuttons.

adafruit_support_mike
 
Posts: 52627
Joined: Thu Feb 11, 2010 2:51 pm

Re: I2C problems

by duncanh on Tue Aug 11, 2015 9:09 am

I was actually able to figure out how to connect the buttons to I2C by using a MCP23017 or MCP23008 chip.

duncanh
 
Posts: 6
Joined: Mon Aug 10, 2015 11:34 am

Re: I2C problems

by adafruit_support_bill on Tue Aug 11, 2015 9:30 am

[moved to Other Adafruit Products]

Post your code and some photos of how you have everything connected and we'll take a look.

adafruit_support_bill
 
Posts: 69251
Joined: Sat Feb 07, 2009 10:11 am

Re: I2C problems

by duncanh on Tue Aug 11, 2015 9:45 am

I was actually able to figure this out. Thank you though.

duncanh
 
Posts: 6
Joined: Mon Aug 10, 2015 11:34 am

Please be positive and constructive with your questions and comments.