Go Down

Topic: Yun 8475A input sketch (Read 278 times) previous topic - next topic

heggood

Mar 18, 2015, 04:24 am Last Edit: Mar 18, 2015, 08:48 am by heggood
Does anyone have a working I2C sketch for the 8475A input?  I have output working.  In my case I need two chips to scan a 4x4 keypad.  I could trudge through it, but I feel sure it's been done before.
It's much easier to make working code elegant than make elegant code work!

jessemonroy650

Does anyone have a working I2C sketch for the 8475A input?  I have output working.  In my case I need two chips to scan a 4x4 keypad.  I could trudge through it, but I feel sure it's been done before.
@heggood,

IN Arduino Yún

3/4 of the way down

Quote
The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the documentation for details. For SPI communication, use the SPI library.
The links in the quote:
Wire library <==I2C
SPI library

Good Luck, let us know you do,
Jesse

Go Up