Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ExioBufferdController MCP23S17 mbed-rtos mbed
Diff: main.cpp
- Revision:
- 1:1046d9aef179
- Parent:
- 0:7578a6b316b7
- Child:
- 2:0a339555ddf6
diff -r 7578a6b316b7 -r 1046d9aef179 main.cpp
--- a/main.cpp Fri Nov 04 19:48:29 2016 +0000
+++ b/main.cpp Fri Nov 04 19:50:19 2016 +0000
@@ -27,11 +27,6 @@
// Reset MCP23S17
Exio.reset();
- // set the port as input
- Exio.ioDirection(ExioPortB, 0xff);
- Exio.ioPullup(ExioPortB, 0xff);
- Exio.ioPolarity(ExioPortB, 0xff);
-
ExioInBuffer exioInBuffer(&Exio, ExioPortB, 10);
exioInBuffer.run();