Basic library for MCP23017 16-bit I/O expander using an I2C interface used in aconno ACD52832 dev board.
Dependents: tof100 gaasgjdvas LED_GAME11 tof100
Fork of MCP23017 by
Diff: MCP23017.h
- Revision:
- 1:d54d7002bae2
- Parent:
- 0:a6a5d942b58f
- Child:
- 3:f00ee94327c6
--- a/MCP23017.h Sun Nov 28 20:41:49 2010 +0000 +++ b/MCP23017.h Sun Nov 28 20:47:17 2010 +0000 @@ -15,11 +15,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "mbed.h" - #ifndef MBED_MCP23017_H #define MBED_MCP23017_H +#include "mbed.h" + +/** MCP23017 class + */ // // Register defines from data sheet - we set IOCON.BANK to 0 // as it is easier to manage the registers sequentially.