07-07-2021, 06:13 PM
IIRC in the code the var channel is the GPIO PIN number and GPIO.input(channel) can return either 0 or 1 (false / true) where 0 = pin level is LOW, 1 = pin level is HIGH.
Thank you for your donation!
GPIO buttons that fire on connect.
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
GPIO buttons that fire on connect. - by the_bertrum - 07-07-2021, 02:55 PM
RE: GPIO buttons that fire on connect. - by TheOldPresbyope - 07-07-2021, 03:55 PM
RE: GPIO buttons that fire on connect. - by the_bertrum - 07-07-2021, 05:10 PM
RE: GPIO buttons that fire on connect. - by Tim Curtis - 07-07-2021, 06:13 PM
|