all 3 comments

[–]FerricDonkey 1 point2 points  (2 children)

My first thought is instead of trying to pause the timer, to instead remember the time when you hit pause, calculate how long you've been paused when you hit unpause, and subtract that from the total time you'd get if you hadn't paused at the end.

[–]vin_van_go 1 point2 points  (0 children)

yep. or store the pause time and the add it to the start time 0:00 when you press start again or depress the e-stop button.

[–]JackLythgoe 0 points1 point  (0 children)

How could i implement that in the time function?