Need help with non delay timing

grogking:
There's a lot of code, but currentMillis is just holding the value for millis

 // get the current time

int currentMillis = millis();

Read reply #1 again. Especially the second sentence.