Naguissa / uRTCLib

Really tiny library to basic RTC functionality on Arduino. DS1307, DS3231 and DS3232 RTCs are supported.
https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html
GNU Lesser General Public License v3.0
87 stars 24 forks source link

ds3232 clock frequency calibration via aging offset register #23

Closed eleksir closed 3 years ago

eleksir commented 3 years ago

It is possible to achieve even more accuracy in timekeeping on ds3232 and it looks like it fair for ds3231 too.

http://www.kerrywong.com/2014/07/19/ds3232-clock-frequency-calibration/ If you happen to add this idea in your lib, it will be great.

Naguissa commented 3 years ago

Version 6.4.0 released.

Added agingGet and agingSet functions in order to control aging value on DS323X RTCs.

You can see its usage here: https://github.com/Naguissa/uRTCLib/blob/master/examples/uRTCLib_example_full/uRTCLib_example_full.ino#L64