V1

Dependents:   VITI2_ihm_2

Files at this revision

API Documentation at this revision

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