ESP32 version that could work

This commit is contained in:
hsaturn
2021-04-10 17:47:21 +02:00
parent 6afd3939b3
commit ba6a96976a
2 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
#pragma once
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#ifdef ESP8266
#include <ESPAsyncTCP.h>
#elif defined(ESP32)
#include <WiFi.h>
#include <AsyncTCP.h> // https://github.com/me-no-dev/AsyncTCP
#endif
#include <vector>
#include <set>
#include <string>