RTCZero
RTCZero copied to clipboard
RTC Library for SAMD21 based boards
SetEpoch check for new Epoch to be larger than EPOCH_TIME_OFF, that is set to 946684800, there are times when one wants to use a difference Epoch than the default!
update1: Problem solved, please see my last message in this string... I expect this is also an issue with SAMD21 CPU chip... update: If I take a new processor chip,...
It would be handy to be able to set the time from the C __TIME__ and __DATE__ variables. For example: https://github.com/ITPNYU/clock-club/tree/master/Microcontroller_Time_Setting_Methods/CompileTimeSet
Hello, I get a warning in RTCZero.cpp line 96:26, without having a bug. ``` 'oldTime.RTC_MODE2_CLOCK_Type::reg' may be used uninitialized in this function [-Wmaybe-uninitialized] ``` line 96:26 : ``` if ((!resetTime)...
I notice there is some weirdness when using the setMinutes, setHours functions. Using the function `rtc.setHours(rtc.getHours()+1); ` allows for setting time between 0 and 32. Shouldn't this wrap around at...
I set it up like this: setup() { rtc.begin(); rtc.setAlarmSeconds(59); rtc.enableAlarm(rtc.MATCH_SS); Watchdog.enable() } loop() { Watchdog.reset(); LED OFF rtc.setSeconds(58); rtc.standbyMode(); LED ON } I'm expecting it to sleep 1 second,...
The smallest period with the current version is 1 minute. It would be useful to be able to set periodic alarms that fire more frequently. Perhaps something like MATCH_MS (match...
https://github.com/arduino-libraries/RTCZero/blob/ac98e3da2809500ae50050e5dee12223461921a6/src/RTCZero.cpp#L115 Is there a reason the flag is cleared after the callback? Seems if you have too long of a callback (2+ seconds) then the RTC will hang the processors....
My board is an MKR WAN 1300. So I have an issue where a delay of the RTC happens when using a library called Emonlib with their specifications. The issues...
Are the newer MKR boards compatible and tested? MKR GSM 1400 and WiFi 1010? Can the documentation be updated to make this clear?