Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESPAsyncWebServer and AsyncTCP now in Arduino library mgr #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion webserver.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/************************************************************************************
* All webserver related stuff
************************************************************************************/
#include <ESPAsyncWebServer.h>
#include <ESPAsyncWebSrv.h> // Changed from ESPAsyncWebServer.h to use lib mgr version.

// webserver on standard port 80. But can be any port.
AsyncWebServer server(80);
Expand Down