Supports ESP32

pull/11/head
Hieromon Ikasamo 6 years ago
parent 8cb41a65bc
commit 8577a676c0
  1. 4
      examples/HandleClient/HandleClient.ino

@ -17,9 +17,9 @@
#include <AutoConnect.h> #include <AutoConnect.h>
#if defined(ARDUINO_ARCH_ESP8266) #if defined(ARDUINO_ARCH_ESP8266)
ESP8266WebServer Server; ESP8266WebServer server;
#elif defined(ARDUINO_ARCH_ESP32) #elif defined(ARDUINO_ARCH_ESP32)
WebServer Server; WebServer server;
#endif #endif
AutoConnect portal(server); AutoConnect portal(server);

Loading…
Cancel
Save