Closed gedankenexperimenter closed 2 years ago
Computing the end time by calling millis() meant that delay() was calling millis() one more time than requested. The same problem existed for delayMicroseconds().
millis()
delay()
delayMicroseconds()
Computing the end time by calling
millis()
meant thatdelay()
was callingmillis()
one more time than requested. The same problem existed fordelayMicroseconds()
.