I am having difficulty getting my Netduino Plus to communicate with a ZX-RELAY16 board that uses a MCP23016 interface chip.
I have several points of ambiguity, and dont know exactly where my problem lies.
I am running V4.2
I have the 2 boards connected as follows.
SCL - Pin5 NetDuino
SDA - Pin4 NetDuino
GND - GND
The ZX is powered through its own power supply and the Netduino Plus via USB
My first problem is understanding how to code the I2C, as there seems to be the internal classes that I'm trying to use, that seems to be avoided by most, in favour of some other classes.
Does anybody have a straight forward example of how to send a byte via I2C to a device register xx at device address yy
In addition to that if anybody had an example of talking to the MCP23016 chip, that would be even better.
Cheers
Rohan
VB I2C zx-relay16 MCP23016
Started by rhamer, Jan 11 2012 03:57 AM
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users