mirror of
https://github.com/scottbez1/smartknob.git
synced 2025-09-26 23:09:27 +08:00
add WOKWI
This commit is contained in:
parent
5fc1611a3d
commit
0b18570a20
23
diagram.json
Normal file
23
diagram.json
Normal 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
9
wokwi.toml
Normal 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"
|
Loading…
Reference in New Issue
Block a user