Sunday, September 2, 2012

i2c and the Freetronics Leostick

So I picked up some MCP23017 GPIO expanders after hearing about them from a friend. The only spare Arduino-compatible boards I had were Leosticks. It seems that the i2c pins aren't in the same places.

Uno: A4/A5
LeoStick: D2/D3

There's a good tutorial for using the MCP23017 with the Arduino programming environment here.