{
"version": 1,
"author": "Kepo yaa",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-esp32-devkit-v1", "id": "esp", "top": 0, "left": 0, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 121.4,
"left": -76.8,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 35,
"left": -76.8,
"attrs": { "color": "green" }
},
{ "type": "wokwi-servo", "id": "servo1", "top": 94, "left": 192, "attrs": {} }
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "btn2:2.l", "btn1:1.l", "green", [ "h0" ] ],
[ "btn1:1.r", "esp:GND.2", "magenta", [ "v0" ] ],
[ "btn1:2.r", "esp:D5", "cyan", [ "h0" ] ],
[ "btn2:1.r", "esp:D18", "purple", [ "v0" ] ],
[ "esp:GND.1", "servo1:GND", "black", [ "h0" ] ],
[ "esp:D21", "servo1:PWM", "blue", [ "h0" ] ],
[ "esp:VN", "servo1:V+", "red", [ "h0" ] ]
],
"dependencies": {}
}