Created
March 29, 2022 14:16
-
-
Save jg3/57d0af75996ed4696aa91a6aa8d083af to your computer and use it in GitHub Desktop.
Raspberry Pi buttons
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note -- while this works, you should use gpiozero instead of RPi.GPIO as is done in this gist.
https://gpiozero.readthedocs.io/en/stable/api_input.html#button