https://github.com/wokwi/esp32-async-web-server-example
ESP32 Async Web Server Example: Control 2 LEDs from a web page hosted on the ESP32 (simulate with Wokwi for VS Code)
https://github.com/wokwi/esp32-async-web-server-example
Last synced: 5 months ago
JSON representation
ESP32 Async Web Server Example: Control 2 LEDs from a web page hosted on the ESP32 (simulate with Wokwi for VS Code)
- Host: GitHub
- URL: https://github.com/wokwi/esp32-async-web-server-example
- Owner: wokwi
- License: mit
- Created: 2023-01-29T10:20:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T15:17:26.000Z (over 2 years ago)
- Last Synced: 2024-11-16T01:16:00.718Z (7 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 13
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32 HTTP Server Example
ESP32 Async Web Server example: control 2 LEDs from a web page hosted on the ESP32 using the [ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer).
Use [Wokwi for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=wokwi.wokwi-vscode) to simulate this project.
## Building
This is a [PlatformIO](https://platformio.org) project. To build it, [install PlatformIO](https://docs.platformio.org/en/latest/core/installation/index.html), and then run the following command:
```
pio run
```## Simulating
To simulate this project, install [Wokwi for VS Code](https://marketplace.visualstudio.com/items?itemName=wokwi.wokwi-vscode). Open the project directory in Visual Studio Code, press **F1** and select "Wokwi: Start Simulator".
Once the simulation is running, open http://localhost:8180 in your web browser to interact with the simulated HTTP server.