Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: LeoB on July 08, 2023, 06:30:14 PM

Title: GPIO - interrupt
Post by: LeoB on July 08, 2023, 06:30:14 PM
Hello all,
I bought an A20-Olinuxino-Micro and I'm making some tests with GPIOs.
I saw the PYA20 library for Python and it works quite well but I saw examples only making a polling on the GPIOs.
Do you know if the status change of a GPIO can generate an event catchable by Python to run a function?

Thank you in advance for your answer!