Posts by Jordy • 1 point
1 post
-
-1
votes3
answers109
viewsA: Simple Arduino program
As it is already in the loop function, you can exchange this while for if. You could use an auxiliary variable to save the status of the button. Or if you want something more complex, look for…