Another question on a similar topic - I am using this board to interface with a number of buttons.
I have moved over to using Windows 10 IOT on my Pi 2.
I have pretty much everything working, but am having trouble with the interrupts.
I have the IA and IB connected via your level shifter to 2 gpio ports on the Pi. They are directly connected via the level shifter, no other components. Firstly is this correct ? I havent been able to find a schematic of how to connect the IA and IB pins to the GPIO ports.
My interrupt is caught in the c# code on windows 10 iot, but I have having problems specifically resetting the interrupt afterwards.
Watching the pin it starts low, when I press a physical button it goes high,. the interrupt is caught. But the the pin stays High from then on.
I tried resetting the interrupt by reading PORT_EXPANDER_INTCAPx_ADDRESS (0x10 & 0x11) , but this doesnt seem to work properly.
My code reads both these registers when either interrupt (A or B) is caught, in an attempt to reset both interrupts. Interstingly if I catch an interrupt on bank A, the interrupt on bank B will reset , and vice versa. So something is working, but for some reason it wont reset the interrupt on the bank it has just caught.
I know most of your examples are in python, but do you have any ideas ??