RTClib

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
nielo
 
Posts: 1
Joined: Sun May 16, 2010 3:52 pm

RTClib

Post by nielo »

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?

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”