top of page
09 Time Functions
delayMicroseconds()
delayMicroseconds(uSec)
uSec: the number of microseconds to pause (unsigned int)
Pauses the program for the amount of time (in microseconds) specified as parameter. There are a thousand microseconds in a millisecond, and a million microseconds in a second.
Typically, the largest value that will produce an accurate delay is 16383. For delays longer than a few thousand microseconds, you should use delay() instead.
This command is usefull for understanding how long a section of code requires to execute.
bottom of page