New OTA Bigroom

This commit is contained in:
2022-03-14 14:20:50 +03:00
parent f87f56292f
commit 48d41e38ab
3 changed files with 40 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
#define __MAIN__
#include <Arduino.h>
#include <ArduinoOTA.h>
//#include <ArduinoOTA.h>
#include <Ticker.h>
#include <WiFi.h>
extern "C" {
@@ -17,6 +17,9 @@ extern "C" {
#include <RunningMedian.h>
#include <Adafruit_HTU21DF.h>
#include <EEPROM.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <AsyncElegantOTA.h>
#define BAUDRATE 9600
@@ -47,4 +50,6 @@ float temp, hum;
bool bLamp, wLamp;
uint8_t statLamp;
AsyncWebServer server(80);
#endif // __MAIN__