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