timeserver

  1. KMatle

    B4R Code Snippet Get the time from a timserver (the easy way)

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