{
"version": 1,
"author": "Flore De Bosscher",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-esp32-devkit-v1",
"id": "esp",
"top": -115.38,
"left": -19.65,
"attrs": { "env": "micropython-20220618-v1.19.1" }
},
{ "type": "chip-pcf8574", "id": "chip1", "top": -75.78, "left": 158.4, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": -22.8,
"left": 464.6,
"attrs": { "color": "red", "flip": "1" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -90,
"left": 493.8,
"attrs": { "color": "green", "flip": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn1",
"top": -127,
"left": 355.2,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn2",
"top": -88.6,
"left": 326.4,
"attrs": { "color": "green" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": -176.4,
"left": 397.8,
"attrs": { "color": "yellow", "flip": "1" }
}
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "chip1:VCC", "esp:VIN", "red", [ "h-9.6", "v124.8", "h-158.65" ] ],
[ "chip1:GND", "esp:GND.1", "black", [ "h-19.2", "v67.2", "h-52.75" ] ],
[ "esp:D22", "chip1:SCL", "yellow", [ "h62.35", "v23.78" ] ],
[ "chip1:SDA", "esp:D21", "yellow", [ "h-19.2", "v-4.48" ] ],
[ "btn1:2.r", "esp:GND.1", "black", [ "v134.8", "h-301.55" ] ],
[ "btn2:2.r", "esp:GND.1", "black", [ "v96.4", "h-272.75" ] ],
[ "btn1:1.r", "chip1:P0", "green", [ "v-28.8", "h-95.2", "v86.4" ] ],
[ "btn2:1.r", "chip1:P1", "green", [ "v-19.2", "h-56.8", "v48" ] ],
[ "led2:A", "chip1:P2", "orange", [ "h-105.6", "v9.6" ] ],
[ "led1:A", "chip1:P3", "orange", [ "h-28.4", "v-57.6" ] ],
[ "led2:C", "esp:GND.1", "black", [ "v0" ] ],
[ "led1:C", "esp:GND.1", "green", [ "v0" ] ],
[ "led3:A", "btn1:1.r", "green", [ "v0" ] ],
[ "led3:C", "btn1:2.r", "black", [ "v0" ] ]
],
"dependencies": {}
}