Using Timer with a Button #963
Unanswered
MickeyGentry
asked this question in
Q&A
Replies: 1 comment
-
I rewrote this with non-library timer code and it works as expected. Thoughts?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've posted some test code where a button press should output messages every second. When I load this and press the button, a bunch of messages come out immediately, and then they come out every second as expected. The longer I wait to press the button the more messages come out, as if they are piling up before the button press. I have tried
timer.begin()
andtimer.beginNextPeriod()
invoid setup()
, didn't make any difference. Thoughts?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions