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 11/* *
22 * On every loop, the state of the port B is copied to port A.
33 *
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.
66 * When pressing a button, the corresponding led is shut down.
77 *
88 * 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() {
3535
3636 currentB = mcp.readPort (MCP23017Port::B);
3737 mcp.writePort (MCP23017Port::A, currentB);
38- }
38+ }
You can’t perform that action at this time.
0 commit comments