{
"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" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 158.4,
"left": 210.65,
"rotate": 90,
"attrs": { "value": "4700" }
}
],
"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" ] ],
[ "r1:2", "btn1:2.l", "green", [ "h0" ] ],
[ "r1:1", "nucleo:3V3.2", "red", [ "h0", "v-28.8", "h-316.8", "v105.6" ] ],
[ "btn1:2.r", "nucleo:D2", "green", [ "v0" ] ],
[ "btn1:1.r", "nucleo:GND.5", "black", [ "v48.2", "h-336", "v-105.6" ] ]
],
"dependencies": {}
}