{
"version": 1,
"author": " madiha abid ",
"editor": "wokwi",
"parts": [
{ "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 0, "left": 0, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 111.6,
"left": -101.8,
"attrs": { "color": "red" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 271.2,
"left": -105.4,
"rotate": 180,
"attrs": { "color": "green" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "led1:C", "nucleo:GND.5", "violet", [ "v0" ] ],
[ "led1:A", "nucleo:A1", "red", [ "v0" ] ],
[ "btn1:1.l", "nucleo:A0", "gold", [ "h9.8", "v-109.4" ] ],
[ "btn1:2.l", "nucleo:3V3.2", "#8f4814", [ "h0", "v-96.2" ] ]
],
"dependencies": {}
}