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:
- 5:79b8535dc5ac
- Parent:
- 4:32fd6ee97dff
- Child:
- 7:c282ea90cdb5
--- a/MCP23017.h Sun Nov 28 21:38:25 2010 +0000 +++ b/MCP23017.h Sun Nov 28 22:13:12 2010 +0000 @@ -97,7 +97,7 @@ void config(unsigned short dir_config, unsigned short pullup_config, unsigned short polarity_config); -/******************************************************************************* +/* ****************************************************************************** * pinmode * Set units to sequential, bank0 mode */