FriendlyElec,
i see some room for improvements in GPIO:
WiringPi (introduced here) is a pretty old version:
Compared to Raspbian:
This old version of WiringPi does not support events/interrupts:
There is a couple of issues with RPi.GPIO_NP as well:
[*] it runs with python2 only (see details)
[*] events seem to not work; my_callback is never called:
It would be great if you could provide us with some updates soon.
Thanks in advance, Thomas
i see some room for improvements in GPIO:
WiringPi (introduced here) is a pretty old version:
Code: Select all
gpio -v
gpio version: 2.20
Copyright (c) 2012-2014 Gordon Henderson
Compared to Raspbian:
Code: Select all
gpio -v
gpio version: 2.44
Copyright (c) 2012-2017 Gordon Henderson
This old version of WiringPi does not support events/interrupts:
Code: Select all
gpio wfi 7 rising
gpio: Unknown command: wfi.
There is a couple of issues with RPi.GPIO_NP as well:
[*] it runs with python2 only (see details)
[*] events seem to not work; my_callback is never called:
Code: Select all
io.add_event_detect(pin, io.RISING, callback=my_callback)
It would be great if you could provide us with some updates soon.
Thanks in advance, Thomas