ntptime not included with PyBoard firmware

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: ntptime not included with PyBoard firmware

Post by pythoncoder » Thu Apr 08, 2021 5:07 am

@kwiley It is easy if your location is static and you handle the date for the change; you are doing it correctly.

Full Unix support is not easy as it involves knowing the DST parameters for every country in the world. And they don't always get it right: I have an old project with firmware from an ancient Unix build which changes to and from DST a week out. But only if the Sunday of the date of change happens to be the last day of the month.
Peter Hinch
Index to my micropython libraries.

kwiley
Posts: 140
Joined: Wed May 16, 2018 5:53 pm
Contact:

Re: ntptime not included with PyBoard firmware

Post by kwiley » Thu Apr 08, 2021 6:49 am

I understand your point. Thanks. Right now, I'm far more concerned about the fact that the NTP code completely kills the Wifi station until I reset. That issue is described in another thread though.

In other news, my GT-U7 GPS modules arrived today and they seem to work great with the PyBoard. I see some old threads in the forum on similar topics, so I won't need the NTP feature in general. But still, I think the problem needs to be solved.

Cheers!

Post Reply