NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_wait.nxc

This is an example of how to use the Wait function.

task main()
{
Wait(SEC_5); // wait 5 seconds
Wait(Random(SEC_1)); // wait random time up to 1 second
}