ezeio2:scriptref:sleep

This is an old revision of the document!


Pause script for a short duration

Description

sleep( milliseconds )

Pause the script for milliseconds.

USE WITH CAUTION

This command will prevent events to be executed and may cause unwanted delays in other logic.

Parameters

milliseconds The duration for which to pause the script

Return value

This command does not return a value.

Example usage

   SetOutput(1, 100);
   sleep(100);             // Allow output to be ON for 100 ms
   SetOutput(1, 0);
  • ezeio2/scriptref/sleep.1574123503.txt.gz
  • Last modified: 2019-11-19 00:31
  • by andreh