Hi guys, I want to make a system ( controlling a stopwatch using two push buttons) the system that I want is…
let say button 1 is for START button, and button 2 is for STOP button. My idea now is to make two loops.
Literally, button 1 is in loop 1 and button 2 is in loop 2. So, to make that I think it is good to use do_while loop. I have tried to make the program… but it didn’t go so well. One more thing, between ARDUINO uno and my stopwatch… i use transistor’s switch control and I’d done the experiment on my circuit and nothing is wrong. so I think my problem now is in the program.
I will be very appreciate if u guys help me.
here is my program sketch
do_while.ino (933 Bytes)