Arduino Forum

Topics => Science and Measurement => Topic started by: jferris on Nov 27, 2012, 04:15 am

Title: Arduino Stopwatch last time recall
Post by: jferris on Nov 27, 2012, 04:15 am
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?
Title: Re: Arduino Stopwatch last time recall
Post by: patduino on Nov 27, 2012, 04:28 am
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?
Title: Re: Arduino Stopwatch last time recall
Post by: robtillaart on Nov 27, 2012, 07:32 pm
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