MCP23017 Interrupts: Read INTF Before INTCAP Clears the Event
MCP23017 interrupt service is mostly a register-order problem: find the flagged pin in INTF before reading INTCAP or GPIO clears the condition.
MCP23017 Interrupts: Read INTF Before INTCAP Clears the Event Read More