GPIO interrupts

Started by jonnydedwards, November 10, 2014, 09:06:42 PM

Previous topic - Next topic

jonnydedwards

Hi Folks,
just a quick question, is it possible to use interrupt driven gpio's rather than polling?
thanks in advance,
Jonny Edwards


kantal

Python example on https://github.com/kantal/PythonGPIO
See the poll_in_python.py, which uses the C poll() call.
In contrary the name, your code will not poll, this is done by the kernel.