From Wiring

Jump to: navigation, search
This page is intended as a reference for core developers only, and the content is only changed after a consensus has been reached through discussion of any such changes. Please use the Discussion page to talk about any changes or issues you have with the current implementation.
Classification Delay and Timing Control
Suggested location WDelay.h
C++ required No
Timing constraints None
Version introduced 1.0 (0100)
Framework dependencies None
void delay(uint32_t)
Required? Yes
Issues None



Forces the program to stop running for a specified time.

Black Box Input

Int. The time in milliseconds is provided.

Black Box Output

No output.


None. Single signature only.


Delay time are specified in thousandths of a second. The function call delay(3000) will stop the program for three seconds. Alias of delayMilliseconds().

There are 1000 milliseconds in a second.

Proposed Changes

Personal tools