Arduino Uno has minimum two functions which help to get current time mark from the beginning: millis()
and micros()
.
millis()
returns time marks in milliseconds.
micros()
returns time marks in microseconds.
These two functions can be very useful if you work with sensors.
And, do not forget to save output on a variable with type unsigned long
Happy coding!
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)