Note: The ESP must be connected to the internet (e.g. WiFi)
Sub GetTime
RunNative("GetTime", Null)
End Sub
#if c
#include "time.h"
void GetTime (B4R::Object* o) {
const char* ntpServer = "pool.ntp.org";
const long gmtOffset_sec = 3600;
const int daylightOffset_sec =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.