RTCDue
RTCDue copied to clipboard
Library for the RTC from the Arduino Due
Newbie to CPU programming here. I'm trying to use the SAM3X's low-power backup mode to reduce energy consumption on my Due. One of the ways that the CPU can be...
Many libraries that use UTC or unixtime contain subtle bugs in determining the correct calendar date/time and parsing/math errors when presented with a date/time like `20yy1231T115960Z`. I strongly suspect (but...
Hello. Would you like to comment on the methods in the code?
https://github.com/MarkusLange/RTCDue/blame/fae218a0fff7149cd332c2857daabdbf64a6ff2a/src/RTCDue.h#L65 Changing them to stack variables will reduce static RAM consumption.
https://github.com/MarkusLange/RTCDue/blame/fae218a0fff7149cd332c2857daabdbf64a6ff2a/src/RTCDue.cpp#L3
https://github.com/MarkusLange/RTCDue/blame/fae218a0fff7149cd332c2857daabdbf64a6ff2a/src/RTCDue.cpp#L393
https://github.com/MarkusLange/RTCDue/blame/fae218a0fff7149cd332c2857daabdbf64a6ff2a/src/RTCDue.cpp#L109
Function unixtime() lines 521 to 527. You'll get a wrong time: - When the rtc does an hour transition between the getHours() call and the getMinutes() call. - When the...
Hi, today is 10/27/2024 and it's Sunday, this morning at 3:00 am daylight saving time ended, but the script will calculate the exact time from tomorrow. This test if (...