In this tutorial I am looking at using millis function in the code. Describing the advantages it has over using delay function.