ArduPy icon indicating copy to clipboard operation
ArduPy copied to clipboard

Interrupt Example for GPIO / BUTTONS

Open ril3y opened this issue 4 years ago • 2 comments

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.

ril3y avatar Jan 06 '21 00:01 ril3y

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.

yobl avatar Feb 24 '21 14:02 yobl

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

atrent avatar Nov 25 '21 13:11 atrent