Daily Alarms setup

Status
Not open for further replies.

robouden

Member
For a project I am working on, I like to use the alarm time libraries for setting up reboots based a variable of days. In the documentation on Gitihub, I only could find alarms for hours, minutes and seconds or weekdays. How to modify the alarmRepeat function to do for days? Should I use hours and multiply with 24 for the days?

regards
rob oudendijk
 
In the readme:

If you want the alarm to trigger once only on a particular day and time you can do this:
Alarm.alarmOnce(dowMonday, 9,15,0, MondayMorningAlarm);
This would call the function MondayMorning() Alarm on the next Monday at 9:15am.

Does that help? Or maybe I don't understand what you really need?
 
Status
Not open for further replies.
Back
Top