rtc.init() is not working on v1.20.2.r2
-
Re: Firmware Release v1.20.2.r2
rtc.init is no longer working in following build:
Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; GPy with ESP32
rtc = RTC()
rtc.init((2017, 2, 28, 10, 30, 0, 0, 0))
rtc.now()
(1970, 1, 1, 0, 30, 25, 65284, None)
-
@Gijs using rtc.ntp_sync() you'll get the proper time. After that, rtc.init() seems to be ignored.
-
Hi,
We are aware of the issue, once a solution is available, I will let you know!
Note, there seems to be some sort of workaround: https://forum.pycom.io/topic/6616/rtc-utime-issues-in-1-20-2-r2/4
Gijs
-
@Jean-Ferreira said in rtc.init() is not working on v1.20.2.r2:
Re: Firmware Release v1.20.2.r2
rtc.init is no longer working in following build:
Pycom MicroPython 1.20.2.r2 [v1.11-3a7776d] on 2020-11-23; GPy with ESP32
rtc = RTC()
rtc.init((2017, 2, 28, 10, 30, 0, 0, 0))
rtc.now()
(1970, 1, 1, 0, 30, 25, 65284, None)same problem for wipy 3 !