From 0619d8d2969680ac35d2964b292e11913a33d711 Mon Sep 17 00:00:00 2001 From: Kevin Walton Date: Fri, 3 Mar 2023 16:36:13 +0000 Subject: [PATCH 1/2] ESPAsyncWebServer and AsyncTCP now in Arduino library mgr Hi Roel, ESPAsyncWebServer and AsyncTCP are now both avaliable in the Arduino library manager - updates proposed inline with that if you think that is helpful? --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 71d4a5e..40d4719 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ The sketch uses several libraries. Some will probably already be installed in yo - Adafruit_GFX library (install from the library manager) - Adafruit_BusIO library (install from the library manager) - Radiolib library (install from the library manager) -- TinyGPSPlus library ((install from the library manager) -- ESPAsyncWebServer library (download: https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip ) -- AsyncTCP library (download: https://github.com/me-no-dev/AsyncTCP/archive/master.zip ) +- TinyGPSPlus library (install from the library manager) +- ESPAsyncWebServer library (install from the library manager or download: https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip) +- AsyncTCP library (install from the library manager or download: https://github.com/me-no-dev/AsyncTCP/archive/master.zip) -Install the last two libraries from the IDE menu: Sketch -> Include Library -> Add .ZIP library +If not using the library manager then install the last two libraries from the IDE menu: Sketch -> Include Library -> Add .ZIP library # settings.h You will need to change the values in settings.h before you can use the sketch. From 17aedc4974be60c9cdfc020dde765b61a5b78bab Mon Sep 17 00:00:00 2001 From: Kevin Walton Date: Fri, 3 Mar 2023 17:09:17 +0000 Subject: [PATCH 2/2] Update library name ESPAsyncWebSrv.h Changed from ESPAsyncWebServer.h to use lib mgr version. --- webserver.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.ino b/webserver.ino index 5c46b16..06a0ebf 100644 --- a/webserver.ino +++ b/webserver.ino @@ -1,7 +1,7 @@ /************************************************************************************ * All webserver related stuff ************************************************************************************/ -#include +#include // Changed from ESPAsyncWebServer.h to use lib mgr version. // webserver on standard port 80. But can be any port. AsyncWebServer server(80);