RPi.GPIO event detection not working on NEO
Posted: Sun Dec 10, 2017 5:54 pm
Hello
,
I'm trying to get the GPIO event detection working using a NanoPi NEO board and python.
I've tried something similiar to this:
Problem is: a flank change is never detected. I can read/write the GPIO's with no problems, but if I use wait_for_edge or add_event_detect a changed GPIO is never reported back.
This problem exists on both latest 4.11.2 roms (jessie and xenial).
I'd appreciate any help on fixing that problem.

I'm trying to get the GPIO event detection working using a NanoPi NEO board and python.
I've tried something similiar to this:
Code: Select all
import RPi.GPIO as GPIO
pin = 7
GPIO.setmode(GPIO.BOARD)
GPIO.setup(pin, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.wait_for_edge(pin, GPIO.FALLING)
print('change detected')
Problem is: a flank change is never detected. I can read/write the GPIO's with no problems, but if I use wait_for_edge or add_event_detect a changed GPIO is never reported back.
This problem exists on both latest 4.11.2 roms (jessie and xenial).
I'd appreciate any help on fixing that problem.