Here is a TEST
Something that may have alluded you:
//****************************** 5 s e c o n d T I M E R
//if the 5 second TIMER is enabled, has it expired ?
if (doBlink == false && currentMillis - previousMillis >= 5000)
{
//enable the 80ms and 30 second TIMERs
doBlink = true;
//restart the 80ms TIMER
previousMillis = millis();
//restart the 30 second TIMER
previous30secondMillis = millis();
}
The above was taken from the last sketch offered.
What would result if we just had:
//****************************** 5 s e c o n d T I M E R
//has the 5 second TIMER expired ?
if (currentMillis - previousMillis >= 5000)
{
//enable the 80ms and 30 second TIMERs
doBlink = true;
//restart the 80ms TIMER
previousMillis = millis();
//restart the 30 second TIMER
previous30secondMillis = millis();
}