#pragma once #include "pico/stdlib.h" #include "lwip/apps/sntp.h" extern "C" void set_system_time(u32_t sec); class NtpClient { public: static void setDateTime(); private: NtpClient() {} // Disallow creating an instance of this object };