I'm trying to create a workout countdown timer of 30 seconds workout and 10 seconds rest.
After the 30 seconds run out, I would like to add a sound and once the sound stopped, start the 10 seconds rest countdown timer.
I managed to get the countdown timer to work, however can't seem to be able to get to the second stage of adding the sound then start the countdown rest timer of 10 seconds.
Can anyone help please?
Many thanks
1 Like
Too many global variable lead to confusion.
You can do this with two timers and no global variables:
2 Likes
Many thanks for this.
One thing I was looking for and this didn't cover was the countdown timer to actually show on the screen. So counting down from 30....
Thank you though Appreciate you using your time to help me.
Thank you for this!
Appreciate it.
I was looking for the break timer to start right after the 30sec timer finish...
Thank you very much though for your time
Look at your first post:
That is exactly what my test app (aia) does.