-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timer Will not count up #10
Comments
When did you download the library? Sent from my iPhone
|
Try it now. Redownload the library first. Sent from my iPhone
|
Hello. |
Just some minor reordering in the code. Sent from my iPhone
|
HI, I've noticed another anomaly now. Sorry if this sounds a bit confusing, I'm using the same code as posted above. If I reset the audrino and do not use the reset while the timer is running then all seems to be okay. It seems it doesnt like being reset whilst its running. it has to be paused then reset and then resumed. |
Yes because the library uses flags to start, stop and pause. If you reset midway then the flag will not be set to do the action you require without doing the process over. If you reset you must start again, if you pause you must resume. Sent from my iPhone
|
HI, Yes, That’s working thanks. What was the fix ? From: AndrewMascolo [mailto:[email protected]] Try it now. Redownload the library first. Sent from my iPhone
— |
That makes sense. I'm keeping track of the state I want the timer in so if it's running and the reset is pressed, I'll issue the stop first, then reset and then start again. Unless you want to put that in the library ? Sent from my HTC ----- Reply message ----- Yes because the library uses flags to start, stop and pause. If you reset midway then the flag will not be set to do the action you require without doing the process over. If you reset you must start again, if you pause you must resume. Sent from my iPhone
— |
I will make a note of it and if more people have that issue, I will add it. Sent from my iPhone
|
I’ve not tried yet. But will your counter support two instances? I will ultimately want two stop watches on the project. From: AndrewMascolo [mailto:[email protected]] Yes because the library uses flags to start, stop and pause. If you reset midway then the flag will not be set to do the action you require without doing the process over. If you reset you must start again, if you pause you must resume. Sent from my iPhone
— |
It should yes, there is nothing there that uses static variables. Sent from my iPhone
|
Hello Andrew,
I'm having some issues with my code, I wonder if you could take a look please.
http://pastebin.com/8PF14JvL
This project drives an LED display with a RTC or a counting up stop watch.
The display shows 00 00 01 and doesnt show anything more, I've addedd the serial debug in to watch it and that two just shows 0:0:1 and nothing more.
It seems the counter isnt running for some readon. I have even tried the examples and they stop after showing one second. do you have any ideas ?
thanks,
The text was updated successfully, but these errors were encountered: