Is it necessary to sleep in a loop? #15834
Unanswered
leecallen35
asked this question in
RP2040 / Pico
Replies: 1 comment 1 reply
-
That is generally useful if you application can accepts a delay up to 1 ms. Best call machine.idle(). |
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
-
Sorry I realize this is a noob question. On any other platform I would put a sleep in a loop so the program does not monopolize the CPU. Is that necessary & appropriate in micropython on the Pico?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions