{
"version": 1,
"author": "rahu7p",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -27.97,
"left": -0.98,
"attrs": {}
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 255.8,
"left": 278.4,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 297.6, "left": 354.6, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 206.4,
"left": 249.05,
"rotate": 90,
"attrs": { "value": "4700" }
},
{ "type": "wokwi-led", "id": "led1", "top": 63.6, "left": 282.2, "attrs": { "color": "red" } },
{
"type": "wokwi-resistor",
"id": "r2",
"top": 128.75,
"left": 278.4,
"attrs": { "value": "220" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "btn1:1.l", "nucleo:D0", "green", [ "h0" ] ],
[ "btn1:2.r", "gnd1:GND", "green", [ "h19.4", "v0.2" ] ],
[ "r1:2", "btn1:1.l", "green", [ "h0" ] ],
[ "nucleo:3V3.2", "r1:1", "red", [ "h240.45" ] ],
[ "r2:1", "nucleo:D13", "green", [ "v0" ] ],
[ "r2:2", "led1:A", "green", [ "v-28.8", "h-1.2" ] ],
[ "led1:C", "nucleo:GND.9", "black", [ "v0" ] ]
],
"dependencies": {}
}