summaryrefslogtreecommitdiff
path: root/esp8266/scripts/ntptime.py
AgeCommit message (Collapse)Author
2017-05-12esp8266/scripts: Move drivers/modules to modules/ (frozen bytecode).Paul Sokolovsky
2016-05-30esp8266/scripts/ntptime: Allow to override NTP server.Paul Sokolovsky
This is not part of public API, variable name may change, or it can be replaced with a function.
2016-05-03esp8266/scripts/ntptime: Add simple NTP client.Paul Sokolovsky
.time() returns seconds since MicroPython epoch (2000-01-01 00:00UTC), .settime() sends current system time, assuming UTC timezone.