26.06.2020, 15:36
Resident script sleep time cannot be larger than 60 seconds. There's no point in using large delays because sleeping scripts still consume system memory. Resident scripts should be used for tasks like socket clients and servers, serial port data exchange etc.
Most examples use functions that suspend script until some data arrives or a timeout happens. This does not produce heavy system load.
Most examples use functions that suspend script until some data arrives or a timeout happens. This does not produce heavy system load.