Forked from romilly. Changed the way SPI handler is injected in constructor
Fork of MCP23S17 by
Diff: MCP23S17.cpp
- Revision:
- 3:089a2a754567
- Parent:
- 2:6144709f1700
- Child:
- 4:d501c74550a0
diff -r 6144709f1700 -r 089a2a754567 MCP23S17.cpp --- a/MCP23S17.cpp Sat Aug 21 14:46:59 2010 +0000 +++ b/MCP23S17.cpp Sun Aug 22 12:05:06 2010 +0000 @@ -43,6 +43,10 @@ _write(IODIRB, direction); } + void intconA(char interruptsEnabledMask) { + _write(INTCONA, interruptsEnabledMask); + } + void MCP23S17::outputA(char byte) { _write(OLATA, byte); }