DelayMicroseconds/developers

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.
delayMicroseconds()
Classification Delay and Timing Control
Suggested location WDelay.h
C++ required No
Timing constraints None
Version introduced 1.0 (0100)
Framework dependencies None
Prototype(s)
void delayMicroseconds(uint16_t)
Required? Yes
Issues None


Contents

Description

Forces the program to stop running for a specified time in microseconds.

Black Box Input

long. The time in microseconds is provided.

Black Box Output

No output.

Overloading

None. Single signature only.

Notes

Delay time is specified in millionths of a second. The function call delayMicroseconds(3000) will stop the program for three milli seconds or 0.003 seconds.

There are 1000000 microseconds in a second.

Proposed Changes

Personal tools