Would this code, added richt after the wake-up, do it:
Why do you have two alarms? I think that the one set for every 30 seconds will be waking the Arduino and the alarm desired at the 5 minute intervals will be adjusted ahead and never reached.
Would this code, added richt after the wake-up, do it:
Why do you have two alarms? I think that the one set for every 30 seconds will be waking the Arduino and the alarm desired at the 5 minute intervals will be adjusted ahead and never reached.