Replies: 1 comment
-
|
I have found out the error, the problem was related with the order of the libraries... My .ino file had the libraries in this order: #include <AsyncTCP.h>
#include <DHT.h>
#include <ESPAsyncWebServer.h> // <--- This creates the conflict
#include <ESPmDNS.h>
#include <PrettyOTA.h>
#include <PubSubClient.h>
#include <WebSerialLite.h>
#include <WiFiManager.h> // <--- Because this includes the standard WebServerSo what I have done was putting first the WiFiManager before any other include as shown below: #include <WiFiManager.h>
#include <AsyncTCP.h>
#include <DHT.h>
#include <ESPAsyncWebServer.h>
#include <ESPmDNS.h>
#include <PrettyOTA.h>
#include <PubSubClient.h>
#include <WebSerialLite.h>
#include <WiFiUdp.h>
#include <movingAvg.h>And problem solved 🎉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello developers, thanks first for this awesome library.
I'm writing this post to get help or ideas to find out why is my compilation failing. I'm getting the following error with the latest ESPAsyncWebServer with latest ESP32 core (3.3.7):
Beta Was this translation helpful? Give feedback.
All reactions