I’m having a real problem trying to get an RTC module to sync its time to an arduino mega2560.
The RTC is the ds3231.
I’m using this library…GitHub - jarzebski/Arduino-DS3231: DS3231 Real-Time-Clock
The code is a hydroponics controller that i’ve kinda spliced/modified together because untill several months ago, i didn’t understand any of this. Thanks to this forum and many others i have learned alot all ready and enjoying it tbh.
The time library here…Time Library, Timekeeping and Time/Date Manipulation on Teensy
The code works well but the system time is crucial to the design of teh controller because of the alarms necessary.
Thanks in advance and sorry if its been asked before. i did look.
comeonenow.ino (9.34 KB)