Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7521

MicroPython • Re: How to set the right Pi Pico system time? With the use of DS3231?

$
0
0
Note there is a bug in the RP2040 which means the time will always be one second ahead of what it is set to for the Pico and Pico W.
This has been fixed. I can now set the RTC (via ntp or mpremote rtc --set) and it agrees with the internal time
I'm not so sure the underlying bug has been fixed. The code I ran above with latest vanilla 1.25 reliably demonstrates it in multiple tests on a Pico. There may have been various fudge factors applied outside the firmware but I am convinced the bug is still there.

Statistics: Posted by hippy — Sat Apr 26, 2025 12:19 am



Viewing all articles
Browse latest Browse all 7521

Trending Articles