How can I dynamically change the period of a timer ? #83
Unanswered
freemank1224
asked this question in
Q&A
Replies: 1 comment 1 reply
-
By itself Instead you could cancel the previously running task and restart with a new period:
While this can work, Another way to do this is to use
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to modify a inteval of a timer in loop() to dynamically change the timer's inteval, but it doesn't work.
nacelle_timer.every(nacelleFrequencySetpoint ++, move_motor_count);
What should I do ?
Beta Was this translation helpful? Give feedback.
All reactions