-
Notifications
You must be signed in to change notification settings - Fork 0
delay
Thomas Foster edited this page Mar 22, 2021
·
2 revisions
Function Suspends execution for an interval (milliseconds).
Syntax void delay(unsigned milliseconds);
Prototype in dos.h
Return value* None.
With a call to delay, the current program is suspended from execution for the number of milliseconds specified by the argument milliseconds.
/* play detached notes */
sound(440, 250);
delay(50);
sound(550, 250);
delay(50);
sound(660, 250);