Arduino Tutorial: Using millis() Instead of delay()

A well known Arduino function is delay() which pauses the program for an amount of milliseconds specified as parameter. millis(), on the other hand, is a function that returns the amount of milliseconds that have passed since program start. At first glance you may doubt the usefulness of this function. The fact is that it’s … Continue reading Arduino Tutorial: Using millis() Instead of delay()