Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (14 sloc) 0.926 kb
215885ca » ladyada
2010-09-01 Basic I/O handling library. Kinda tested.
1 To download, click "Download Source" in the top right corner. Then install as indicated in our tutorial:
7de43549 » ladyada
2010-09-02 more README!
2 --> http://www.ladyada.net/library/arduino/libraries.html
183b0767 » ladyada
2012-03-17 Update README
3 in a folder called Adafruit_MCP23008.
215885ca » ladyada
2010-09-01 Basic I/O handling library. Kinda tested.
4
5 This is very much beta, it seems to work fine but its not optimized and doesn't currently suport the interrupt capability of the chip
6
7de43549 » ladyada
2010-09-02 more README!
7 Currently it can do: setting pin directions, inputs and outputs and turning on/off the pull-up resistors
8
9 To use:
10 Connect pin #1 of the expander to Analog 5 (i2c clock)
11 Connect pin #2 of the expander to Analog 4 (i2c data)
12 Connect pins #3, 4 and 5 of the expander to ground (address selection)
13 Connect pin #6 and 18 of the expander to 5V (power and reset disable)
14 Connect pin #9 of the expander to ground (common ground)
15 Pins 10 thru 17 are your input/output pins
16
17 Check the datasheet for more info: http://ww1.microchip.com/downloads/en/DeviceDoc/21919b.pdf
18
215885ca » ladyada
2010-09-01 Basic I/O handling library. Kinda tested.
19 Enjoy and send pull requests!
Something went wrong with that request. Please try again.