This repository was archived by the owner on Jan 29, 2023. It is now read-only.
Change Interval Recursively using SAMDTimer #11
Answered
by
khoih-prog
WillPowellUk
asked this question in
Q&A
-
I understand how you can use SAMD_ISR_Timer::changeInterval() to change the interval on the fly. Is there a way to do the same for SAMDTimer? I have tried calling SAMDTimer::setInterval() recursively inside the interrupt function, but this seems to have no effect. Any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
khoih-prog
Nov 30, 2021
Replies: 1 comment 1 reply
-
You can do that, but outside ISR. Have a look at Change_Interval example, especially Change_Interval.ino#L142
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
WillPowellUk
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
You can do that, but outside ISR. Have a look at Change_Interval example, especially Change_Interval.ino#L142