Pages: [1]   Go Down
Author Topic: Arduino Stopwatch last time recall  (Read 1884 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?

* stopwatch sketch.zip (2.01 KB - downloaded 30 times.)
Logged

Indiana, US
Offline Offline
Full Member
***
Karma: 12
Posts: 204
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.

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 224
Posts: 13915
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 -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: