Thank you for your donation!


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


GPIO buttons that fire on connect.
#4
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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: GPIO buttons that fire on connect. - by Tim Curtis - 07-07-2021, 06:13 PM

Forum Jump: