#include #include #include #include #include "FS.h" #include #include #include #include extern "C" { #include } const int verzija[3] = {0, 0, 0}; const char* program_ime = "sijaneciot"; String dostopnatocka[2]; String oddaljenadostopnatocka[2]; bool razhroscevanje = true; ESP8266WebServer server(80); FtpServer ftpSrv; File fsUploadFile; // a File object to temporarily store the received file static const char ntpServerName[] = "0.pool.ntp.org"; //static const char ntpServerName[] = "time.nist.gov"; //static const char ntpServerName[] = "time-a.timefreq.bldrdoc.gov"; //static const char ntpServerName[] = "time-b.timefreq.bldrdoc.gov"; //static const char ntpServerName[] = "time-c.timefreq.bldrdoc.gov"; const int timeZone = 1; // Central European Time //const int timeZone = -5; // Eastern Standard Time (USA) //const int timeZone = -4; // Eastern Daylight Time (USA) //const int timeZone = -8; // Pacific Standard Time (USA) //const int timeZone = -7; // Pacific Daylight Time (USA) WiFiUDP Udp; unsigned int localPort = 8888; // local port to listen for UDP packets time_t getNtpTime(); void digitalClockDisplay(); void printDigits(int digits); void sendNTPpacket(IPAddress &address);