Closed ryanaukes closed 6 months ago
Will look into it
Should be
if (mode == RISING)
{
intcon = mask;
defval = ~mask; // RISING == compare to 0
}
else if (mode == FALLING)
{
intcon = mask;
defval = mask; // FALLING == compare to 1
}
Adding some refactoring - register naming. Develop branched will be merged later today (if all builds stay OK).
Thanks again for all your testing, if new problems pop up, please open a new issue.
First of all, thank you for creating this library! It has been really useful to me.
I am wondering if you have any short term plans to implement the interrupt functions that the MCP23S17 supports? As far as I can tell the library currently does not support this.
Thanks in advance, Ryan