Yun 8475A input sketch

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:
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

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