Seeed-Studio/ArduPy

Interrupt Example for GPIO / BUTTONS

ril3y opened this issue · 2 comments

ril3y commented

I would very much like an example of how to use Buttons or GPIO on the WIO Terminal specifically (however any code examples will work) on how to attach a pin that is set to pin.IRQ_RISING (etc) to a isr function call.

yobl commented

Hello,
There is an issue with interrupt on buttons. With 2 Wio Terminals, button UP and button A don't work with interrupts.
Others (B, C, DOWN, RIGHT, LEFT) work well. They all work well with read regulaly.

Confirmed, I can trigger the interrupt on those pins only by keeping another button pressed