I am a little lost regarding the DS1302....
The first and foremost thing is the discrepancy between the interface type......
Is this thing IC2 or not? The official Arduino side guide says (and I am quoting):
"It is not I2C, it's not OneWire, and it is not SPI.".
See here: Arduino Playground - DS1302
Yet, according to a couple other sites, I see they mention hooking this up via I2C (like: Add a Dallas DS1302 I2C Real Time Clock).
Further, I am having trouble finding coherent info regarding a single working library with good examples and documentation.
To top of the list, now that I am searching - I am reading this RTC essentially sucks and is practically useless.
Currently... I am fetching server time every hour (using an HTTP GET request via ES8266) and counting millis() to keep up with hours/minutes. This way, drift is never off too much (re-synced every hour).
Should I just keep what I have w/ server synced time? Or is this RTC worth my time/effort?
Currently, I am attempting to use it w/ the Time.h library (which is, itself not very clear) and cannot figure out how to even set the time from a unix timestamp.
If anyone can point me in the direction to something coherent and "in one place", that would help a lot.
Also - any input regarding my efforts with this chip are greatly appreciated as well.