jeremylindsayni / Magellanic.Sensors.DS1307

C# code for the DS1307 real time clock module.
https://jeremylindsayni.wordpress.com/2016/06/18/how-to-use-the-ds1307-real-time-clock-with-c-and-the-raspberry-pi-3/
1 stars 1 forks source link

pcf8523 RTC #2

Open cmassman opened 6 years ago

cmassman commented 6 years ago

I am trying to get the pcf8523 RTC to work on Pi 3. It all seems to work up to the point of the date time values in the array.

The DateTime should be around 8:16:00 5/25/18

image

Do you have any idea why the day is greater than 31?

The specs for the 8523 RTC: https://www.nxp.com/docs/en/data-sheet/PCF8523.pdf Some info on the RTC: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-pcf8523-real-time-clock.pdf This RTC can be purchased from here $5.95: https://www.adafruit.com/product/3386

Any help would be greatly appreciated!!