Service addon with gpio : Failed to add edge detection
#1
Hi,

i´m writing a service addon under libreelec (milhouse) and kodi 18 alpha to read push buttons.
gpio access works well on reading and writing gpio pins. 

But interrupts didn't work.

GPIO.add_event_detect(23, GPIO.FALLING, callback=btnhandler,bouncetime=300)

throw thee above error message.
i tried RPi:GPIO 0.62 and 0.63

any help
Martin
Reply
#2
after a fresh libreelec installation add_event works well. Before i´ve only updated from openelec.May be one of the installed plugins caused it.
Reply

Logout Mark Read Team Forum Stats Members Help
Service addon with gpio : Failed to add edge detection0