TimeAlarmsTest.cpp: In function 'void onAlarm()':TimeAlarmsTest:37: error: 'class TimeAlarmsClass' has no member named 'getTriggeredAlarmId'TimeAlarmsTest:51: error: 'class TimeAlarmsClass' has no member named 'free'TimeAlarmsTest.cpp: In function 'void loop()':TimeAlarmsTest:137: error: 'class TimeAlarmsClass' has no member named 'getNextTrigger'
Changes made July 5 2011:This is a beta test version of the libraries that provides a fix forrecurring weekly alarms.TheTime library is unchanged except for fixes to a macro in Time.h thatconverts 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 tomake the library easier to maintain and enhance.In short, if your application used an Alarm method to create weeklyalarms then you should change your sketch to use the methods that take theexplicit 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 methodwith a value greater than one day to indicate the day and time of the weeklyalarm. This has changed and explicit calls to set weekly alarms must be usedwhen 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
sorry for my english
copet_pitik, this thread was reporting a specific issue with the Library so this is not the best place for discussions on help using the library.I have created a thread for that purpose here and I suggest the we move this discussion there. Can you post a shorter version of your sketch that illustrates the problem so its easer to see if your problem is with Alarms or delays in your code to write to eeprom.Michael
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16