GPIO - interrupt

Started by LeoB, July 08, 2023, 06:30:14 PM

Previous topic - Next topic

LeoB

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!