![]() ZBasic System Library
111
ZBasic Microcontrollers
Type
Subroutine
Invocation
DelayUntilClockTick()
Discussion
This routine suspends the current task until at least the next tick of the RTC. The actual delay depends
on what other tasks actually do that may run in the interim. It is possible that the task will be suspended
indefinitely.
If no other tasks are ready to run, the actual delay could be between 0 and 1 RTC tick.
This routine is exactly equivalent to Sleep(1). However, the RTC must be enabled in your application in
order to use this subroutine.
See Also
|