There's a lot of code, but currentMillis is just holding the value for millis
// get the current time
int currentMillis = millis();
There's a lot of code, but currentMillis is just holding the value for millis
// get the current time
int currentMillis = millis();