Mark,
I suggest to add a error handler/flag, if the device does not respond.
Thx for your code as well.
I have a ?, why use the rtc at all?
I have not used the BASCOM clock, timekeeping functions, since I have done everything based on the rtc and my code.
I do see that the DateTime library does not keep track of month & year, so I guess your sw has to keep track!
If you are using the network as your clock/calendar reference and you periodically check then the reference why is the mcu reference not good enough?
One reference will be more accurate than the other, so the assumption is the network is more accurate than your reference rtc or mcu.
Rick
↧