SJFOM / StepUp-Pico

Portable stepper motor magic - on a RPi Pico board 🥧
MIT License
0 stars 0 forks source link

Interrupt handling fix - joystick button not registering #30

Closed SJFOM closed 1 year ago

SJFOM commented 1 year ago

I now realise that interrupts on the Pico's GPIO IRQ events are shared - meaning that a single GPIO interrupt will trigger all call-back methods, thus requiring we check the source of the interrupt within each ISR.