 std::unique_ptr<ESP8266WebServer> server;
 SimpleTimer timer_remote;
 SimpleTimer timer_vcc;
+WiFiUDP udp;
 
 //-------------main functions----------------------------------------
   void goFeed(String sval) {

          float vdd = ESP.getVcc();
          server->send(200, "text/plain", String(vdd));
        });
        server->begin();
        Serial.println("Custom HTTP server started");
        doblink(LED_PIN, 1, 5000);
  }
}

String DEV_VERSION = "1.0";
const int POWERCHECK_INTERVAL = 10000; // Check battery volage
float VOLTAGE_THRESHOLD = 2710; // voltage threshold , mv
const int REPOSITORY_INTERVAL = 5000; //Repository interval check, milisecond
const char* HOST = "http://345.kiev.ua/1.php"; //Repository  full adress for remote job
unsigned int UPDPORT = 28031;

const int TRIGGER_PIN = D3; // D3 on NodeMCU and WeMos.
const int LED_PIN = D7; //Diod pin
