That is what programming is all about.
You have to use a variable that holds the current state.
For example state 0 : nothing is going on, waiting for button.
state 1 : first timer is running
and so on.
That is what programming is all about.
You have to use a variable that holds the current state.
For example state 0 : nothing is going on, waiting for button.
state 1 : first timer is running
and so on.