Closed avaldebe closed 6 years ago
Use a (clean) NTP client library and leave all the time manipulation to the classes provided on by the RTC library.
Seems to be just what I need, see example.
pio lib --global install "EasyNTPClient"
[common] lib_deps = EasyNTPClient
Use a (clean) NTP client library and leave all the time manipulation to the classes provided on by the RTC library.