You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We expect the LED to toggle once then stop, but instead it keeps flashing at ~1.7s intervals. This is because the timer is still enabled and just keeps wrapping. Confirmed using HardwareTimer1<TIMER_CLKDIV_256> and we get ~27s intervals.
So timer needs to be explicitly disabled in the callback.
Adding this to the driver code is going to add latency, so will need to take a closer look at this. Suggestions welcome!
Discovered after dealing with another issue, see #2709
The text was updated successfully, but these errors were encountered:
This code (modified
Basic_Blink
sample) doesn't work as expected:We expect the LED to toggle once then stop, but instead it keeps flashing at ~1.7s intervals. This is because the timer is still enabled and just keeps wrapping. Confirmed using
HardwareTimer1<TIMER_CLKDIV_256>
and we get ~27s intervals.So timer needs to be explicitly disabled in the callback.
Adding this to the driver code is going to add latency, so will need to take a closer look at this. Suggestions welcome!
Discovered after dealing with another issue, see #2709
The text was updated successfully, but these errors were encountered: