Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Upcoming moOde 6.5.2
#5
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.

Code:
time.sleep(0.005) # edge debounce of 5mSec
# only deal with valid edges
if GPIO.input(channel) == 1:

from this thread !
Reply


Messages In This Thread
Upcoming moOde 6.5.2 - by Tim Curtis - 05-02-2020, 01:12 PM
RE: Upcoming moOde 6.5.2 - by grumbleweed - 05-02-2020, 05:19 PM
RE: Upcoming moOde 6.5.2 - by moodenigo - 05-02-2020, 08:12 PM
RE: Upcoming moOde 6.5.2 - by Tim Curtis - 05-03-2020, 02:15 AM
RE: Upcoming moOde 6.5.2 - by GreyLinux - 05-03-2020, 09:34 AM
RE: Upcoming moOde 6.5.2 - by Tim Curtis - 05-03-2020, 11:46 AM
RE: Upcoming moOde 6.5.2 - by GreyLinux - 05-03-2020, 01:22 PM
RE: Upcoming moOde 6.5.2 - by Tim Curtis - 05-03-2020, 01:36 PM

Forum Jump: