esp8266-react-framework/src/NTPStatus.h

27 lines
413 B
C
Raw Normal View History

#ifndef NTPStatus_h
#define NTPStatus_h
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <ArduinoJson.h>
#include <AsyncJson.h>
#include <TimeLib.h>
#include <NtpClientLib.h>
class NTPStatus {
public:
NTPStatus(AsyncWebServer *server);
private:
AsyncWebServer* _server;
void ntpStatus(AsyncWebServerRequest *request);
};
#endif // end NTPStatus_h