How to reset the mills() counter in Arduino, why not to and what to do instead (in under 2 minutes)

Опубликовано: 14 Март 2026
на канале: Code and Solder
32,369
136

In this video I will demonstrate two different ways to reset the value of the mills() counter that counts milliseconds from the start of Arduino and a library that handles all this by itself.
This is useful for many reasons, from creating timeouts to measuring elapsed time.

Music:
"Eternity" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/b... Support me on Patreon:   / codeandsolder