Loading...
Pages: [1]   Go Down
Author Topic: Arduino Stopwatch last time recall  (Read 1061 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 162
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

There are 10 types of people in the world, those that understand binary, and those that don't.

Netherlands
Offline Offline
Tesla Member
***
Karma: 101
Posts: 9551
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Pages: [1]   Go Up
Print
 
Jump to: