0

RTClib
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RTClib

by nielo on Sun Jul 29, 2018 3:49 pm

I notice the RTClib (at least with a DS3231) doesn't handle the Century bit and requires it to be cleared in order to read the clock correctly using the library. The docs for the DS3231 say "The century bit (bit 7 of the month register) is toggled when the years register overflows from 99 to 00." So, the question is, if the Century bit isn't set how does the DS3231 handle leap years correctly for 2000 and beyond?

nielo
 
Posts: 1
Joined: Sun May 16, 2010 3:52 pm

Please be positive and constructive with your questions and comments.