Quantcast
Viewing all articles
Browse latest Browse all 5114

General discussion • Re: RPI Button Code

I am buying a button to attach to my RPI and I want it to run 1 python script when button is held down and 1 python script when button is let go. What should I do?
You should certainly search before you post, in case someone has done something similar before.

And really, you just want one script, not two.

Statistics: Posted by ame — Sun Mar 03, 2024 2:29 pm



Viewing all articles
Browse latest Browse all 5114

Trending Articles