Im fairly new here so i hope I’m posting in the right sub section. I am trying to have my ds3231 RTC module provide the proper date, however it wont update from 01.01.2000.
I can set the time and DOW with no issues. I am using the example code for the ds3231, but have included it below. Any feedback would be appreciated.
DS3231 rtc(SDA, SCL);
// Setup Serial connection
// Initialize the rtc object
// The following lines can be uncommented to set the date and time
rtc.setDOW(SATURDAY); // Set Day-of-Week to SUNDAY
rtc.setTime(13, 33, 0); // Set the time to 12:00:00 (24hr format)
rtc.setDate(3, 24, 2018); // Set the date to January 1st, 2014
// Send Day-of-Week
// Send date
Serial.print(" – ");
// Send time
// Wait one second before repeating