add WOKWI

This commit is contained in:
Pankaj kumar Prajapat 2024-09-02 23:13:32 +05:30
parent 5fc1611a3d
commit 0b18570a20
2 changed files with 32 additions and 0 deletions

23
diagram.json Normal file
View File

@ -0,0 +1,23 @@
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"id": "esp",
"type": "board-esp32-devkit-c-v4"
}
],
"connections": [
[
"esp:TX",
"$serialMonitor:RX",
""
],
[
"esp:RX",
"$serialMonitor:TX",
""
]
]
}

9
wokwi.toml Normal file
View File

@ -0,0 +1,9 @@
[wokwi]
version = 1
elf = ".pio/build/view/firmware.elf"
firmware = ".pio/build/view/firmware.bin"
# Forward http://localhost:8180 to port 80 on the simulated ESP32:
[[net.forward]]
from = "localhost:8180"
to = "target:80"