Hi Tim ,
Do you think you would be interested in adding my edit of code to the gpio-buttons script ?
It might help those having trouble with gpio false triggers.
from this thread !
Do you think you would be interested in adding my edit of code to the gpio-buttons script ?
It might help those having trouble with gpio false triggers.
Code:
time.sleep(0.005) # edge debounce of 5mSec
# only deal with valid edges
if GPIO.input(channel) == 1:
from this thread !