{
"version": 1,
"author": "Niman",
"editor": "wokwi",
"parts": [
{ "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 0.83, "left": -0.98, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 150.2,
"left": -259.2,
"attrs": { "color": "green", "xray": "1", "key": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 207.8,
"left": -259.2,
"attrs": { "color": "yellow", "xray": "1", "key": "2" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": 275,
"left": -259.2,
"attrs": { "color": "red", "xray": "1", "key": "3" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": 63.6,
"left": -140.2,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 63.6,
"left": -197.8,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": 63.6,
"left": -245.8,
"attrs": { "color": "red" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "btn1:1.r", "nucleo:GND.1", "green", [ "v0" ] ],
[ "btn1:2.r", "nucleo:PA0", "green", [ "h0" ] ],
[ "btn2:1.r", "nucleo:GND.1", "green", [ "v0" ] ],
[ "btn2:2.r", "nucleo:PA6", "green", [ "h0" ] ],
[ "btn3:1.r", "nucleo:GND.1", "green", [ "v0" ] ],
[ "btn3:2.r", "nucleo:PB10", "green", [ "h0" ] ],
[ "led3:C", "nucleo:GND.1", "green", [ "v0" ] ],
[ "led2:C", "nucleo:GND.1", "green", [ "v0" ] ],
[ "led1:C", "nucleo:GND.1", "green", [ "v0" ] ],
[ "led3:A", "nucleo:PC13", "green", [ "v0" ] ],
[ "led2:A", "nucleo:PC14", "green", [ "v0" ] ],
[ "led1:A", "nucleo:PB9", "green", [ "v0" ] ]
],
"dependencies": {}
}