I am writing code for an Arduino project that uses time to figure out the number of revolutions per minute. Just so I have an idea of the accuracy of my code, I am wondering if the millis() function starts counting the moment the Arduino is tued on, when it reaches the setup() loop, or when the main program loop() starts? Anybody know which one?
