We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ebbe68 commit 39fedf4Copy full SHA for 39fedf4
examples/PortCopyOnInterrupt/PortCopyOnInterrupt.ino
@@ -30,6 +30,9 @@ void setup() {
30
mcp.interruptMode(MCP23017_INTMODE::SEPARATED);
31
mcp.interrupt(MCP23017_PORT::B, FALLING);
32
33
+ mcp.writeRegister(MCP23017_REGISTER::IPOLA, 0x00);
34
+ mcp.writeRegister(MCP23017_REGISTER::IPOLB, 0x00);
35
+
36
mcp.writeRegister(MCP23017_REGISTER::GPIOA, 0x00);
37
mcp.writeRegister(MCP23017_REGISTER::GPIOB, 0x00);
38
0 commit comments