{
"version": 1,
"author": "Raúl Peña Ortega",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": 20.03,
"left": -154.58,
"attrs": {}
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 229.8,
"left": 214.2,
"rotate": 90,
"attrs": { "color": "black", "xray": "1", "bounce": "1", "key": "1" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": 111.6,
"left": 176.6,
"attrs": { "color": "red" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 177.05,
"left": 123.4,
"rotate": 180,
"attrs": { "value": "220" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "r3:1", "led1:A", "green", [ "v0", "h19.2" ] ],
[ "r3:2", "nucleo:D13", "green", [ "v0" ] ],
[ "led1:C", "nucleo:GND.9", "black", [ "v0" ] ],
[ "btn1:1.l", "nucleo:GND.5", "black", [ "v-9.6", "h38.4", "v115.2", "h-374.4", "v-96" ] ],
[ "btn1:2.r", "nucleo:D2", "green", [ "v0" ] ]
],
"dependencies": {}
}