File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/* *
2
2
* On every loop, the state of the port B is copied to port A.
3
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.
4
+ * Use active low inputs on port B . Internal pullups are enabled by default by the library so there is no need for external resistors.
5
+ * Place LEDS on port A for instance.
6
6
* When pressing a button, the corresponding led is shut down.
7
7
*
8
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
35
36
36
currentB = mcp.readPort (MCP23017Port::B);
37
37
mcp.writePort (MCP23017Port::A, currentB);
38
- }
38
+ }
You can’t perform that action at this time.
0 commit comments