Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 38de6ac

Browse files
authored
v1.6.4 to remove unused variable
#### Releases v1.6.4 1. Remove unused variable to avoid compiler warning and error
1 parent 80ac7ee commit 38de6ac

File tree

1 file changed

+49
-9
lines changed

1 file changed

+49
-9
lines changed

README.md

+49-9
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
* [Methods for controlling websocket connections](#methods-for-controlling-websocket-connections)
7878
* [Adding Default Headers](#adding-default-headers)
7979
* [Path variable](#path-variable)
80+
* [How to connect W5500 to ESP32](#How-to-connect-W5500-to-ESP32)
8081
* [Examples](#examples)
8182
* [ 1. Async_AdvancedWebServer](examples/Async_AdvancedWebServer)
8283
* [ 2. Async_AdvancedWebServer_MemoryIssues_SendArduinoString](examples/Async_AdvancedWebServer_MemoryIssues_SendArduinoString)
@@ -226,7 +227,7 @@ to apply the better and faster **asynchronous** feature of the **powerful** [ESP
226227
## Prerequisites
227228

228229
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
229-
2. [`ESP32 Core 2.0.5+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. ESP32 Latest Core [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
230+
2. [`ESP32 Core 2.0.6+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. ESP32 Latest Core [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
230231
3. [`AsyncTCP library v1.1.1+`](https://github.com/me-no-dev/AsyncTCP).
231232

232233
---
@@ -1474,6 +1475,45 @@ build_flags =
14741475

14751476
*NOTE*: By enabling `ASYNCWEBSERVER_REGEX`, `<regex>` will be included. This will add an 100k to your binary.
14761477

1478+
---
1479+
---
1480+
1481+
1482+
### How to connect W5500 to ESP32
1483+
1484+
You can change the `INT` pin to another one. Default is `GPIO4`
1485+
1486+
```cpp
1487+
// Must connect INT to GPIOxx or not working
1488+
#define INT_GPIO 4
1489+
```
1490+
1491+
---
1492+
1493+
#### W5500
1494+
1495+
<p align="center">
1496+
<img src="https://github.com/khoih-prog/AsyncWebServer_ESP32_W5500/raw/main/pics/W5500.png">
1497+
</p>
1498+
1499+
<p align="center">
1500+
<img src="https://github.com/khoih-prog/AsyncWebServer_ESP32_W5500/raw/main/pics/W5500_small.png">
1501+
</p>
1502+
1503+
---
1504+
1505+
1506+
|W5500|<--->|ESP32|
1507+
|:-:|:-:|:-:|
1508+
|MOSI|<--->|GPIO23|
1509+
|MISO|<--->|GPIO19|
1510+
|SCK|<--->|GPIO18|
1511+
|SS|<--->|GPIO5|
1512+
|INT|<--->|GPIO4|
1513+
|RST|<--->|RST|
1514+
|GND|<--->|GND|
1515+
|3.3V|<--->|3.3V|
1516+
14771517

14781518
---
14791519
---
@@ -1503,7 +1543,7 @@ build_flags =
15031543

15041544
### Example [Async_AdvancedWebServer](examples/Async_AdvancedWebServer)
15051545

1506-
https://github.com/khoih-prog/AsyncWebServer_ESP32_W5500/blob/59807080165dcb2395f8591d73a0c7b52f2de138/examples/Async_AdvancedWebServer/Async_AdvancedWebServer.ino#L41-L256
1546+
https://github.com/khoih-prog/AsyncWebServer_ESP32_W5500/blob/80ac7eebf5d0125626cea309333315c4f0565efd/examples/Async_AdvancedWebServer/Async_AdvancedWebServer.ino#L41-L256
15071547

15081548

15091549
You can access the Async Advanced WebServer @ the server IP
@@ -1524,7 +1564,7 @@ Following are debug terminal output and screen shots when running example [Async
15241564

15251565
```cpp
15261566
Start AsyncMultiWebServer_ESP32_W5500 on ESP32_DEV with ESP32_W5500
1527-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1567+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
15281568
[AWS] Default SPI pinout:
15291569
[AWS] SPI_HOST: 2
15301570
[AWS] MOSI: 23
@@ -1574,7 +1614,7 @@ Following is the debug terminal and screen shot when running example [Async_Adva
15741614
15751615
```cpp
15761616
Start Async_AdvancedWebServer_MemoryIssues_Send_CString on ESP32_DEV with ESP32_W5500
1577-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1617+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
15781618
[AWS] Default SPI pinout:
15791619
[AWS] SPI_HOST: 2
15801620
[AWS] MOSI: 23
@@ -1606,7 +1646,7 @@ While using `Arduino String`, the HEAP usage is very large
16061646

16071647
```cpp
16081648
Start Async_AdvancedWebServer_MemoryIssues_SendArduinoString on ESP32_DEV with ESP32_W5500
1609-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1649+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
16101650
[AWS] Default SPI pinout:
16111651
[AWS] SPI_HOST: 2
16121652
[AWS] MOSI: 23
@@ -1646,7 +1686,7 @@ Following is debug terminal output when running example [Async_AdvancedWebServer
16461686
16471687
```cpp
16481688
Start Async_AdvancedWebServer_SendChunked on ESP32_DEV with ESP32_W5500
1649-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1689+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
16501690
[AWS] Default SPI pinout:
16511691
[AWS] SPI_HOST: 2
16521692
[AWS] MOSI: 23
@@ -1714,7 +1754,7 @@ Following is debug terminal output when running example [AsyncWebServer_SendChun
17141754

17151755
```cpp
17161756
Start AsyncWebServer_SendChunked on ESP32_DEV with ESP32_W5500
1717-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1757+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
17181758
[AWS] Default SPI pinout:
17191759
[AWS] SPI_HOST: 2
17201760
[AWS] MOSI: 23
@@ -1765,7 +1805,7 @@ Following is debug terminal output when running example [Async_WebSocketsServer]
17651805
17661806
```cpp
17671807
Starting Async_WebSocketsServer on ESP32_DEV with ESP32_W5500
1768-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1808+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
17691809
[AWS] Default SPI pinout:
17701810
[AWS] SPI_HOST: 2
17711811
[AWS] MOSI: 23
@@ -1795,7 +1835,7 @@ Following is debug terminal output when running example [Async_HTTPBasicAuth](ex
17951835

17961836
```cpp
17971837
Start Async_HTTPBasicAuth on ESP32_DEV with ESP32_W5500
1798-
AsyncWebServer_ESP32_W5500 v1.6.3 for core v2.0.0+
1838+
AsyncWebServer_ESP32_W5500 v1.6.4 for core v2.0.0+
17991839
[AWS] Default SPI pinout:
18001840
[AWS] SPI_HOST: 2
18011841
[AWS] MOSI: 23

0 commit comments

Comments
 (0)