Basic library of routines to interface to a Microchip MCP23017 16-bit I/O expander using an I2C interface.
Dependents: Assignment_2_herpe Final_V1 ass2 ass2 ... more
Diff: MCP23017.h
- Revision:
- 4:32fd6ee97dff
- Parent:
- 3:f00ee94327c6
- Child:
- 5:79b8535dc5ac
--- a/MCP23017.h Sun Nov 28 21:21:17 2010 +0000 +++ b/MCP23017.h Sun Nov 28 21:38:25 2010 +0000 @@ -21,6 +21,7 @@ #include "mbed.h" /** MCP23017 class + * */ // // Register defines from data sheet - we set IOCON.BANK to 0