adafruit / AdafruitClassLibrary

Windows IoT Core libraries for Raspberry Pi
MIT License
26 stars 11 forks source link

MCP23017 interrupts. #13

Closed ErikParso closed 5 years ago

ErikParso commented 5 years ago

Allow users to enable interrupt pins intA and intB. Mirroring is also optional.

ladyada commented 5 years ago

hiya we don't have anyone maintaining this code at this time - did you test this on hardware :)

ErikParso commented 5 years ago

Hello i tested it on single MCP23017 with input (button) on multiple input pins (A also B). Interrupt was working fine. IntA pin is connected to GPIO17 (raspberry pi3). On button push my code is notified 2 times (falling and rising edge). I also tested mirroring when both intA and intB is signaling any input change.

ladyada commented 5 years ago

ok thanks! hopefully works for others!

ErikParso commented 5 years ago

Happy to help. I needed this feature. Great library ^^