I would like to enable interrupts on a Adafruit NeoKey 1x4 board. The NeoKey board is connected to a Raspberry Pi, the INT pin of the NeyKey board is connected to pin 16 of the RPI. Is use the following code to register a callback for the interrupts:
Hi,
I would like to enable interrupts on a Adafruit NeoKey 1x4 board. The NeoKey board is connected to a Raspberry Pi, the INT pin of the NeyKey board is connected to pin 16 of the RPI. Is use the following code to register a callback for the interrupts:
where the function
on_neokey_interrupt
just prints some output. This is working fine, if I connect pin 16 to ground.Using the parameter in the constructor has no effect: https://github.com/adafruit/Adafruit_CircuitPython_NeoKey/blob/56d3cc2635a3604d9a4bd19a32d9ffc9f106ccfd/adafruit_neokey/neokey1x4.py#L58
This will only set the field interrupt_enabled since the property is only implemented in Keypad, not in Seesaw.
I tried the following, but also with no success:
Any ideas what the problem could be?