Go Down

Topic: Arduino Stopwatch last time recall (Read 2049 times) previous topic - next topic

jferris

I am constructing an Arduino stopwatch. I followed a tutorial and constructed a working circuit, but the stopwatch will reset after every new start. I need the stopwatch to start from where it left off every time. Any suggestions on how to alter my code?

patduino

Hi jferris,

Sorry, but I can't read your zip file on my iPad... Can you paste, in a code block (select code and press the # button above), the part that you are having trouble with?

What do you think is going wrong?  How did you intend to keep it going, and how did you intend to reset it?
There are 10 types of people in the world, those that understand binary, and those that don't.

robtillaart

Give my stopwatch class a try - http://arduino.cc/playground/Code/StopWatchClass -

you need to reset it to reset it, and stop justs stops counting - how difficult can it be? - you can do micros, millis and seconds with it
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

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!

Arduino
via Egeo 16
Torino, 10131
Italy