Go Down

Topic: Need Guidance on Pausing and Resuming 4 Digit 7 Segment LED Countdown Clock (Read 6857 times) previous topic - next topic


Code: [Select]

 if ((time_running == 1) || (time_running == 2))  // fencing time is counting down or delay time is counting down

Is this where your button press is a factor?  If so, how do you make your sketch send these values?


No, there is another area for keypresses. Once a keypress happens, that part turns these flags off if they were on.  This section then gets passed over until something happens to turn one of these on again.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Then how does the "if ((time_running == 1) || (time_running == 2))" work in your sketch?

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131