The
millis() function is one of the most powerful functions of the
Arduino library. This function returns the number of milliseconds the current sketch has been running since the last reset. At first, you might be thinking, well that's not every useful!
Jan 6, 2011');})();(function(){window.jsl.dh('6','
');})();(function(){window.jsl.dh('_-jGbYODvIIzc-gT1mzI42','
');})();(function(){window.jsl.dh('8','
The millis() Function! To put it simply, the millis() function gives us access to the running tally that the timer/counter has been keeping track of. When you call the millis() function, it returns the current value of the timer/counter in milliseconds (hence the millis() function name).