{
"version": 1,
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": 20.03,
"left": -20.18,
"attrs": {}
},
{
"type": "wokwi-led",
"id": "led1",
"top": 399.6,
"left": 147.8,
"attrs": { "color": "red" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 436.25,
"left": 75.4,
"rotate": 180,
"attrs": { "value": "220" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 345.6,
"left": 67.4,
"rotate": 180,
"attrs": { "color": "blue", "label": "B1" }
}
],
"connections": [
[ "led1:A", "nucleo:PA6", "green", [ "h96", "v-240" ] ],
[ "led1:C", "r1:1", "green", [ "v0" ] ],
[ "r1:2", "nucleo:GND.2", "#8f4814", [ "h-114", "v-249.6" ] ],
[ "btn1:1.l", "nucleo:PA8", "magenta", [ "h124.8", "v-144" ] ],
[ "btn1:2.r", "nucleo:GND.1", "gray", [ "h-96.2", "v-144.2" ] ],
[ "$serialMonitor:RX", "nucleo:PA2", "green", [] ],
[ "$serialMonitor:TX", "nucleo:PA3", "green", [] ]
],
"serialMonitor": { "display": "always", "newline": "lf" },
"dependencies": {}
}