We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6196c96 + e2bd5b1 commit 4c1c99bCopy full SHA for 4c1c99b
examples/PortCopy/PortCopy.ino
@@ -1,8 +1,8 @@
1
/**
2
* On every loop, the state of the port B is copied to port A.
3
*
4
- * Use active low inputs on port A. Internal pullups are enabled by default by the library so there is no need for external resistors.
5
- * Place LEDS on port B for instance.
+ * Use active low inputs on port B. Internal pullups are enabled by default by the library so there is no need for external resistors.
+ * Place LEDS on port A for instance.
6
* When pressing a button, the corresponding led is shut down.
7
8
* You can also uncomment one line to invert the input (when pressing a button the corresponding led is lit)
@@ -35,4 +35,4 @@ void loop() {
35
36
currentB = mcp.readPort(MCP23017Port::B);
37
mcp.writePort(MCP23017Port::A, currentB);
38
-}
+}
0 commit comments