firmware-base/vendor/sming/Sming/samples/SystemClock_NTP
2026-01-28 16:42:43 +01:00
..
app vendor 2026-01-28 16:42:43 +01:00
include vendor 2026-01-28 16:42:43 +01:00
component.mk vendor 2026-01-28 16:42:43 +01:00
Makefile vendor 2026-01-28 16:42:43 +01:00
README.rst vendor 2026-01-28 16:42:43 +01:00

SystemClock NTP
===============

Demonstrates various methods for keeping the system clock updated from a
Network Time Server using the *NtpClient* class.

The Timezone class is used to convert between UTC and local times,
accounting for daylight savings.

The SolarCalculator class is used to calculate times of next sunrise and sunset,
which you might want to automate activation of lights, for example.