![]() |
|
<< Previous | Next >> | |
|
int DelayTicks( unsigned ticks );
Description
- Tick time mechanism for the costatement
waitfor
constructs. The initial call to this function starts the timing. The function returns zero and continues to return zero until the number of ticks specified has passed.
- 1 tick = 1/1024 second.
Parameters
- ticks
- The number of ticks to wait.
Return value
1
: The specified tick delay has elapsed.
0
: The specified tick delay has not elapsed.Library
- COSTATE.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |