currentTime is not updated in the while loop.
Why use a while loop in the first place when the loop() function does what its name implies.
currentTime is not updated in the while loop.
Why use a while loop in the first place when the loop() function does what its name implies.