Locate and Install NTPClient Library from ESP32在连接了WiFi以后,可以使用NTP来校对本机时间,否则默认的Unix时间戳从0开始。代码如下: #include <esp32-hal.
確定! 回上一頁