top of page
09 Time Functions
micros()
Returns the number of microseconds since the Arduino board began running the current program. This number will overflow (go back to zero), after approximately 70 minutes. This command is usefull for understanding how long a section of code requires to execute.
Note: there are 1,000 microseconds in a millisecond and 1,000,000 microseconds in a second.
micros()
Returns
Number of microseconds since the program started (unsigned long)
bottom of page