Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Arduino Library for the MCP23008 (and '9) I2C I/O expander http://www.ladyada.net/wiki/partselec…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
To download, click "Download Source" in the top right corner. Then install as indicated in Adafruit's tutorial: --> http://www.ladyada.net/library/arduino/libraries.html in a folder called Adafruit_MCP23008. Currently it can do: setting pin directions, inputs and outputs, turning on/off the pull-up resistors and using interrupts To use: Connect pin #1 of the expander to Analog 5 (i2c clock) Connect pin #2 of the expander to Analog 4 (i2c data) Connect pins #3, 4 and 5 of the expander to ground (address selection) Connect pin #6 and 18 of the expander to 5V (power and reset disable) Connect pin #9 of the expander to ground (common ground) Pins 10 thru 17 are your input/output pins Check the datasheet for more info: http://ww1.microchip.com/downloads/en/DeviceDoc/21919b.pdf