Ahh, that would certainly make things somwhat easier as I could just check for the pin being high or low as programmed.MCP23017 has INTA and INTB. When asserted, INTA/B will stay asserted until it is cleared by certain operations (read GPIO or INTCAP). So if INTA is configured to go high, then it will stay high until you handle it. No special handling necessary, a GPIO input would suffice. Since INTA/B stays asserted you can read the GPIO pin any time you want to check its status.
Time to go read the datasheet more closely

Cheers.
Phill.
Statistics: Posted by PhillHS — Thu Sep 26, 2024 7:31 pm