Syntax
void delayMicroseconds(
    uint32_t usec
);
ContentsIndex
PreviousUpNext
delayMicroseconds
Example
Syntax
void delayMicroseconds(
    uint32_t usec
);
Description

Pauses the program by setting up parameter to designate time to pause(unit:us)

Parameters
Parameters 
Description 
uint32_t usec 
Time to pause in us 
Example
int led = 13;
void setup()
{
    pinMode(led,OUTPUT);
}
void loop()
{
    digitalWrite(led,HIGH);
    delayMicroseconds(1000);
    digitalWrite(led,LOW);
    delayMicroseconds(1000);
}
File

wiring.h

Group