Search found 1 match
- Sat Jan 08, 2022 8:15 am
- Forum: ESP32 Arduino
- Topic: OTA with ESP32 as AP
- Replies: 10
- Views: 32072
Re: OTA with ESP32 as AP
#include <Arduino.h> #include <WiFi.h> #include <AsyncTCP.h> #include <ESPAsyncWebServer.h> #include <AsyncElegantOTA.h> const char *ssid = "ESP32-AP-WebServer"; const char* password = "12345678"; const char* PARAM_INPUT_1 = "state"; //guarda el estado en PARAM_INPUT const int output = 2;// salida e...