Creating an 8 seconds timer with millis() and pow() - Arduino