DS1307 RTC does not keep the time when arduino is power off.


hi everyone, using arduino micro ds1307 rtc. rtc work when arduino power on , using example code of softrtc. however, rtc not continue counting time if command out line rtc.begin(datetime(f(__date__), f(__time__))); . date change 2106 year , else. if not command out line, time start time when compile it.

hope can on it. lot.

did have battery connected rtc?


Arduino Forum > Using Arduino > Programming Questions > DS1307 RTC does not keep the time when arduino is power off.


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'