I've found what I think is a problem. Well, it was for me.
I was using code from pico-examples/rtc/hello_rtc/hello_rtc.c with another project and found that if I didn't call rtc_set_datetime() the RTC doesn't advance at all, even though printing it to serial will print a valid datetime.
Shouldn't the RTC work whether I set the datetime or not? Shouldn't rtc_init() start it?
I was using code from pico-examples/rtc/hello_rtc/hello_rtc.c with another project and found that if I didn't call rtc_set_datetime() the RTC doesn't advance at all, even though printing it to serial will print a valid datetime.
Shouldn't the RTC work whether I set the datetime or not? Shouldn't rtc_init() start it?
Statistics: Posted by Mike**K — Tue Dec 10, 2024 7:22 pm