Availability | All terminals |
Description | This function pauses execution for a number of milliseconds, specified by the argument ms. |
Syntax | void DelayMs( unsigned short ms ); |
Arguments |
unsigned short msThe number of milliseconds to wait. |
Returns | None |
Example |
#include <stdio.h> #include "lib.h" void main( void ) { for(;;) { Sound(TSTANDARD, VHIGH, SHIGH, 0); DelayMs( 500 ); // sounds a beep every 500 milliseconds } } |