{
"version": 1,
"author": "Benny Meisels",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-esp32-devkit-v1", "id": "esp", "top": 2.15, "left": -113.68, "attrs": {} },
{ "type": "wokwi-led", "id": "led1", "top": 71.33, "left": 152, "attrs": { "color": "red" } },
{ "type": "wokwi-slide-switch", "id": "sw1", "top": -88.25, "left": 225.03, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": -55.77,
"left": 28.03,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": -217.81,
"left": -280.55,
"attrs": {}
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 37.6,
"left": -282.63,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "led1:C", "esp:GND.1", "black", [ "v0" ] ],
[ "sw1:3", "esp:D4", "green", [ "v0" ] ],
[ "led1:A", "r1:2", "green", [ "v0" ] ],
[ "r1:1", "esp:D2", "green", [ "v0" ] ],
[ "sw1:1", "esp:GND.1", "green", [ "v204.44", "h-84.61", "v-0.59" ] ],
[ "sw1:2", "esp:GND.1", "green", [ "v0" ] ],
[ "ldr1:VCC", "esp:3V3", "red", [ "h-54.19", "v347.4", "h196.91", "v17.37" ] ],
[ "ldr1:AO", "r2:1", "green", [ "h49.22", "v-67.65", "h-237.45" ] ],
[ "esp:D35", "r2:2", "green", [ "h0" ] ]
]
}