avaldebe / UxTClib

ctime clock library for ESP8266 and ESP32
MIT License
3 stars 1 forks source link

RTC ID? #1

Closed avaldebe closed 6 years ago

avaldebe commented 7 years ago

The PCF8523, DS1307 and DS3231 RTCs have the same id (0x68).

avaldebe commented 6 years ago

There is no need to tell the DS1307/DS3231 apart date/time registers are identical, and the same code can be used to read/adjust the time. It seems that the PCF8523/PCF8563 also share the same registers. This would solve #2, but the PCF8563 has a different address (0x51) than the PCF8523 (0x68). For the time being will use a single bus and try to read/update the DS1307/DS3231 first and PCF8523/PCF8563 second