Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Upd dep-install.sh to menodev->dvarrel #129

Open
wants to merge 2 commits into
base: master
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
6 changes: 3 additions & 3 deletions .github/scripts/dep-install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
cd ${HOME}/Arduino/libraries
git clone https://github.com/me-no-dev/ESPAsyncWebServer.git ESPAsyncWebServer
git clone https://github.com/me-no-dev/ESPAsyncTCP.git ESPAsyncTCP
git clone https://github.com/me-no-dev/AsyncTCP.git AsyncTCP
git clone https://github.com/dvarrel/ESPAsyncWebSrv.git ESPAsyncWebSrv
git clone https://github.com/dvarrel/ESPAsyncTCP.git ESPAsyncTCP
git clone https://github.com/dvarrel/AsyncTCP.git AsyncTCP
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ upload_url = <your upload URL, such as http://192.168.1.123/update>
```
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <ESPAsyncWebSrv.h>
#include <AsyncElegantOTA.h>

const char* ssid = "........";
const char* password = "........";

AsyncWebServer server(80);
AsyncWebSrv server(80);


void setup(void) {
Expand Down Expand Up @@ -148,7 +148,7 @@ void loop(void) {
```
#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <ESPAsyncWebSrv.h>
#include <AsyncElegantOTA.h>

const char* ssid = "........";
Expand All @@ -174,7 +174,7 @@ void setup(void) {
Serial.print("IP address: ");
Serial.println(WiFi.localIP());

server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) {
server.on("/", HTTP_GET, [](AsyncWebSrvRequest *request) {
request->send(200, "text/plain", "Hi! I am ESP32.");
});

Expand Down
2 changes: 1 addition & 1 deletion examples/Async_Demo/Async_Demo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <AsyncTCP.h>
#endif

#include <ESPAsyncWebServer.h>
#include <ESPAsyncWebSrv.h>
#include <AsyncElegantOTA.h>

const char* ssid = "........";
Expand Down
2 changes: 1 addition & 1 deletion src/AsyncElegantOTA.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#endif

#include "Hash.h"
#include "ESPAsyncWebServer.h"
#include "ESPAsyncWebSrv.h"
#include "FS.h"

#include "elegantWebpage.h"
Expand Down