Quote:
Originally Posted by FalconFour
That's easy, even the prebuilt MPGuino can do it. +5v and ground, those are easy to find. SCL and SDA are, unusually enough, usually tied to analog pins. There just so happen to be (at least) 2 unused analog pins on the MPGuino. Just tie in to those, add code accordingly.
(Maybe I'm making it sound too easy? I dunno how much you already know about it...)
|
Yes thanks, analog pins 4 and 5 on an "Arduino" ... I've already had two Arduinos connected with those pins in a successful I2C Master / Slave test.
But according to the MPGuino schematic those pins are used already for two of the front panel buttons and read using register PINC (PORTC input bits, tied to ANA0-5).
It may be that the Wire library for I2C, and the ANA4/5 pins connected to the buttons, can co-exist as long as the buttons aren't pressed ... do you think so? If not, then that's the reason my LCD's protection diode was killed!