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 =...