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.
Revision 10:fba96791480a, committed 2021-02-17
- Comitter:
- gr66
- Date:
- Wed Feb 17 20:52:56 2021 +0000
- Parent:
- 9:068b1e8909bb
- Commit message:
- V1;
Changed in this revision
| MCP23S17.cpp | Show annotated file Show diff for this revision Revisions of this file |
| MCP23S17.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MCP23S17.cpp Sat Aug 28 09:48:38 2010 +0000
+++ b/MCP23S17.cpp Wed Feb 17 20:52:56 2021 +0000
@@ -89,6 +89,6 @@
}
char MCP23S17::read(Port port) {
- return _read(port, GPIOA);
+ return _read(port, GPIOAA);
}
--- a/MCP23S17.h Sat Aug 28 09:48:38 2010 +0000 +++ b/MCP23S17.h Wed Feb 17 20:52:56 2021 +0000 @@ -20,7 +20,7 @@ #define INTCONA 0x08 #define IOCON 0x0A #define GPPUA 0x0C -#define GPIOA 0x12 +#define GPIOAA 0x12 #define OLATA 0x14 // Control settings