State variables and millis help.

unsigned long AlarmDelay = 200;
unsigned long currentMillis =0;
unsigned long alarmStartMillis = 0;