Monthly Archives: July 2013

Resetting the Arduino millis() count

This seems to be something that people ask how to do fairly frequently. 99 % of the time, such as when dealing with millis overflow,┬áit really isn’t necessary. That being said, sometimes it may be appropriate and it provides an interesting insight into some of the core Arduino code. Before trying any of the following […]

Working with Arduino millis()

A fairly common task in various Arduino projects is waiting, or doing something for a specific amount of time. One approach is to use the delay() function. The function takes a value in milliseconds and effectively “does nothing” for that amount of time. Therein lies the problem, it does nothing. If all you want to […]