Function Suspends execution for an interval (milliseconds).
Syntax void delay(unsigned milliseconds);
void delay(unsigned milliseconds);
Prototype in dos.h
Return value* None.
See also sleep
sleep
With a call to delay, the current program is suspended from execution for the number of milliseconds specified by the argument milliseconds.
delay
milliseconds
/* play detached notes */ sound(440, 250); delay(50); sound(550, 250); delay(50); sound(660, 250);
There was an error while loading. Please reload this page.
Header Files