The clock code currently only tells the date, time, temperature.
It also has a task to monitor the motion detector that is running constantly now and just turning on an LED.
Need to add:
- Alarm code. Wire up an annoying buzzer.
- When alarm sounds start task to monitor motion detector.
- When motion detector senses motion, snooze alarm.
- Snooze starts at 5 minutes and reduces by a minute each time it goes off. After a minute it drops down to 30 seconds and stays there.
Typical snooze durations. 5+4+3+2+1+.5+.5+.5 = 16 and a half minutes.
Right now it is nothing for me to hit a 9 minute snooze button 3 times, for close to a half an hour of snoozing.