This command works in the same way as the WAIT FOR TICKER command, except that it attempts to reduce the amount of system time it uses.
This function will cause your program to pause until the ticker causes a tick. If the ticker has already expired, this function will return immediately.
Unlike the WAIT FOR TICKER function, this command will cause your program to sleep and not use processor time while it is waiting. Because of this, your program may sleep slightly longer than required before returning.
This function will return one of the following values:
1 - Tick
2 - Final tick
3 - Ticker has expired |