{
"version": 1,
"author": "Raúl Peña Ortega",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -8.77,
"left": -202.58,
"attrs": {}
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 239.4,
"left": 99,
"rotate": 90,
"attrs": { "color": "black", "xray": "1", "bounce": "1", "key": "1" }
},
{ "type": "wokwi-led", "id": "led1", "top": 34.8, "left": 90.2, "attrs": { "color": "red" } },
{
"type": "wokwi-resistor",
"id": "r3",
"top": 177.05,
"left": 75.4,
"rotate": 180,
"attrs": { "value": "220" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "r3:1", "led1:A", "green", [ "h9.6", "v-105.6" ] ],
[ "r3:2", "nucleo:D13", "green", [ "v0" ] ],
[ "led1:C", "nucleo:GND.9", "black", [ "v0" ] ],
[ "btn1:2.r", "nucleo:D2", "green", [ "v19.4", "h-48.2", "v-48" ] ],
[ "btn1:1.r", "nucleo:GND.5", "black", [ "v48.2", "h-336", "v-105.6" ] ]
],
"dependencies": {}
}