Changes made July 5 2011:This is a beta test version of the libraries that provides a fix for recurring weekly alarms.The Time library is unchanged except for fixes to a macro in Time.h that converts the number of days to elapsed seconds and the macros that are usedto calculate weekly alarms.The functionality of the TimeAlarms library has changed slightly in order to make the library easier to maintain and enhance.In short, if your application used an Alarm method to create weekly alarms then you should change your sketch to use the methods that take the explicit DayOfWeek parameter. Only the Alarm methods are affected, Timer methods are as before.Here are the details:The previous version could set weekly alarms by calling the AlarmOnce method with a value greater than one day to indicate the day and time of the weekly alarm. This has changed and explicit calls to set weekly alarms must be used when setting weekly alarms. If you were setting weekly alarms by calling either Alarm.alarmRepeat(weeklyValue, AlarmFunction);then you need to change this to: arm.alarmRepeat(DayOfWeek, Hour, Minute, Second, AlarmFunction); Also the clock must be set to a time on or after Jan1 1971 when using the Alarm methods.Timer methods are unchanged and will function even if the clock has not been set
… I wish you could combine Jack Christensen TimeZone with your Time libraries.
I have been having problems with multiple copies of your Time libraries across the web.
Quote from: BlackLab1 on Jan 23, 2013, 06:53 am… I wish you could combine Jack Christensen TimeZone with your Time libraries. I have not seen that library but will have a look.
If that library currently works with the time library,
would there be any functional benefit in combining them?
I'm also quite late, but it seems there is a bug with repeating timers at midnight.If I set this: Alarm.alarmRepeat(0,0,0, FUNC_STUFF);The Alarm is always disabled and I cannot enable it.