delayMicroseconds()
Pauses the program for the amount of time (in microseconds) specified as parameter (there are 1 000 000 microseconds in a second).
In contrast to delay() function, delayMicroseconds() will completelly block Z-Uno and prevent all functions except for RF packets capturing to operate.
This function have no limitation to use in getters and setters.
delayMicroseconds(us)
us
the number of microseconds to pause
none
void setup() {
pinMode(20, OUTPUT); // sets the digital pin as output
}
void loop() {
digitalWrite(20, HIGH); // sets the LED on
delayMicroseconds(500); // waits for a second
digitalWrite(20, LOW); // sets the LED off
delayMicroseconds(100); // waits for a second
}