{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-esp32-devkit-v1", "id": "esp", "top": -78.23, "left": 113.33, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 22.7,
"left": 257.09,
"rotate": 90,
"attrs": { "color": "red", "flip": "" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -248.23,
"left": 26.18,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -8.36,
"left": 26.04,
"attrs": { "color": "red" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -70.55,
"left": 4.16,
"attrs": { "color": "green" }
}
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "led1:A", "esp:D2", "green", [ "h0" ] ],
[ "led1:C", "esp:GND.1", "green", [ "h0" ] ],
[ "led2:A", "esp:D13", "green", [ "v0" ] ],
[ "led2:C", "esp:GND.2", "green", [ "v0" ] ],
[ "btn1:2.r", "esp:GND.2", "green", [ "h0" ] ],
[ "btn1:1.r", "esp:D12", "green", [ "v0" ] ]
],
"dependencies": {}
}