Replies: 1 comment
-
machine.Timer schedules the callback functions, in contrast to a hard interrupt. That has fewer restrictions for the callback code, but the scheduling can be delayed in certain situations. It seems ghat during code import the scheduler is not called. |
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 have the following
pulse
method for haptic feedback:What I find is that for smaller
time=0.01
the non-blockingvibro.off()
is fired inconsistently. It feels like under heavy load the callback will be delayed. For example, the following piece of code will cause a strong feedback on first run (when the module is compiled) and a "normal" feedback on subsequent runs.Any idea how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions