16-Bit I/O Expander with Serial Interface (SPI)
Fork of MCP23S17 by
Revision 4:6ffd2b1d0385, committed 2017-10-14
- Comitter:
- viewdeep51
- Date:
- Sat Oct 14 13:07:42 2017 +0000
- Parent:
- 3:b2a44e1e54b8
- Commit message:
- 14/10/17
Changed in this revision
MCP23S17.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b2a44e1e54b8 -r 6ffd2b1d0385 MCP23S17.cpp --- a/MCP23S17.cpp Wed Jan 20 10:49:02 2016 +0000 +++ b/MCP23S17.cpp Sat Oct 14 13:07:42 2017 +0000 @@ -302,7 +302,7 @@ void MCP23S17::_initialization() { - _write(IOCON_ADDR, 0x2A); // setup af control register (BANK = 0, MIRROR = 0, SEQOP = 1, DISSLW = 0, HAEN = 1, ODR = 0, INTPOL = 1, NC = 0) + _write(IOCON_ADDR, 0x2a); // 0x2a setup af control register (BANK = 0, MIRROR = 0, SEQOP = 1, DISSLW = 0, HAEN = 1, ODR = 0, INTPOL = 1, NC = 0) _nCs = 1; }