Code: Select all
main.c: rtc_init_start(false);
Testing similar to
viewtopic.php?f=12&t=3086&hilit=RTC+set ... =10#p18398
shows that main.c is OK as is now -- the RTC is counting,
and calling
Code: Select all
rtc = pyb.RTC()
rtc.init()
Code: Select all
main.c: rtc_init_start(false);
Code: Select all
rtc = pyb.RTC()
rtc.init()
Yes, I'm doing that and getting results. The rtc.init() was from a while back searching through the forum posts.I just instantiate the RTC and, if it's not battery-backed, set it.