May 15, 2021 Arduino
Arduino offers four different time-action functions. They are:
Serial number | Functions and describe |
---|---|
1 |
The delay() function works very simply. /b10> It accepts a single integer (or number) argument. /b11> This number represents the time, in milliseconds. |
2 |
The delayMicroseconds() function accepts a single integer (or number) argument. O ne thousand microseconds in a millisecond and one million microseconds in a second. |
3 |
This function is used to return the number of milliseconds when the Arduino board starts running the current program. |
4 |
The micros() function returns the number of microseconds when the Arduino board starts running the current program. /b10> The number overflows after about 70 minutes, i.e. back to zero. |