0
I have a program, where when I click a button the program pauses, and when I click again it continues, but I realized that in that period of time when I pause the program, the variable that I want receives value even being in pause, how do I make it not receive value while the program is in pause. Code:
if (digitalRead(botao)==1){
for(;;){
if (digitalRead(botao)==1){
goto programa;
}
}