{
"version": 1,
"author": "azzar",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-devkit-c-v4",
"id": "esp",
"top": -48,
"left": -81.56,
"attrs": { "env": "micropython-20231005-v1.21.0" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": 66.4,
"left": -142.6,
"rotate": 270,
"attrs": { "color": "green" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 37.6,
"left": -142.6,
"rotate": 270,
"attrs": { "color": "yellow" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 102.2,
"left": 96,
"attrs": { "color": "green", "key": "d" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 44.6,
"left": 96,
"attrs": { "color": "yellow", "key": "s" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": -13,
"left": 96,
"attrs": { "color": "red", "key": "a" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "btn3:2.r", "btn2:2.r", "black", [ "h19.4", "v57.8" ] ],
[ "btn2:2.r", "btn1:2.r", "black", [ "h19.4", "v57.8" ] ],
[ "esp:18", "btn2:1.l", "red", [ "h0" ] ],
[ "esp:19", "btn3:1.l", "orange", [ "h67.2", "v-48" ] ],
[ "esp:5", "btn1:1.l", "#8f4814", [ "h67.2", "v48" ] ],
[ "esp:GND.3", "btn3:2.l", "black", [ "h57.6", "v-19.2" ] ],
[ "led2:A", "esp:25", "gold", [ "h0" ] ],
[ "led1:A", "esp:26", "green", [ "h19.2", "v-19.2" ] ],
[ "led2:C", "led1:C", "black", [ "h9.6", "v28.4" ] ],
[ "esp:GND.1", "led1:C", "black", [ "h-9.45", "v-9.6" ] ]
],
"dependencies": {}
}