GPIO edge detection in python
-
Has anyone made advances with edge/event detection and interrupt handling in python for the Omega2? I am looking for something similar to the event detect and threaded callbacks in the Raspberry Pi GPIO module.
I have seen the gpioirq example, though my python-fu is not yet strong enough to wrap this up and use it.
Any ideas? Failing this, has anyone got a good routine for reading rotary encoders with reasonable accuracy?
-
@Alex-Butler you might get some useful info from this page,
https://wiki.openwrt.org/doc/hardware/port.gpio#gpio_interrupts