PymateIO-Delaying
Jump to navigation
Jump to search
Abstract
The "Cycle Timing" tutorial state the following
NEVER USE BLOCKING INSTRUCTION in the mainloop
because this lock the code execution in a waiting state... whereas critical operation may requires quick reaction from the script.
The sleep(), sleep_ms() are BLOCKING INSTRUCTIONS.
They should never be used in your script, neither in the mainloop
PymateIO all right reserved © 2026 - Written by MCHobby for PymateIO