Start a timer when button is pressed - Arduino Forum
I am creating a timer for a race. I have a photosensor that has a laser pointed to so when someone crosses the finish, it trips the sensor, and the system logs the racers time. I am using millis() to time the race, but I need the timer to start when I push the button. I have tried using edge detection to start the timer, but the timer starts when the program starts, not when the program . . .
more
|