PDF page 230 – Installing the Async TCP Library for ESP32
The embedded link (https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip) to the AsyncTCP library zip file is incorrect.
As listed on your ESP32 DHT11/DHT22 web Server web page (https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/), the link should be:
Please update your pdf course file so other people do not have to deal with this issue.
For reference, the ESPAsyncWebServer library requires the AsyncTCP library even though the AsyncTCP library is not listed in the #include listing at the top of the sketch.
Please note that there is also a ESPAsyncTCP-master library zip on the www that has been associated with the ESPAsyncWebServer library however, that zip file library will not work with the ESPAsyncWebServer library installed by the Learn ESP32 course document.
file will work with the ESPAsyncWebServer library downloaded as part of the Learning ESP32 course.
You do well to point that out… Although when you read the article, you immediately realize it’s a mistake. But these mistakes can be confusing for beginners in programming (who may not read the recommendations or documentation on GitHub).
- the ESPAsyncTCP library is required for ESP8266.
- for ESP32, you will need to download the AsyncTCP library.
On the web version of the ESP32 course:
Module 4 | Unit 11 : Asynchronous Temperature and Humidity Web Server with Auto Update
I found the following errors:
Installing Libraries / Installing the Async TCP Library for ESP32
How the Code Works / Importing libraries
I’m so sorry about that mistake.
To use the ESPAsyncWebServer web server library with the ESP32, you also need to install the AsyncTCP library https://github.com/me-no-dev/AsyncTCP. It was a mistake when linking the library.
I’ve already corrected the online version of the course.
A new version of the eBook will be released with those typos fixed in the next eBook update.
Thanks for pointing that out.