{
"version": 1,
"author": "Abdulrahman",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-breadboard", "id": "bb1", "top": -89.4, "left": 281.2, "attrs": {} },
{ "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 0.83, "left": -10.58, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 140.4,
"left": -111.4,
"attrs": { "color": "teal" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 243.95,
"left": -76.8,
"attrs": { "value": "100" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -28.9,
"left": 445.1,
"rotate": 90,
"attrs": { "color": "brown", "key": "s", "bounce": "1" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "led1:A", "r1:1", "orange", [ "v0" ] ],
[ "nucleo:A0", "r1:2", "orange", [ "h0" ] ],
[ "nucleo:GND.9", "bb1:bn.1", "black", [ "h0" ] ],
[ "bb1:20b.j", "nucleo:PB2", "green", [ "v0" ] ],
[ "bb1:bn.14", "bb1:18b.j", "black", [ "v0" ] ],
[ "led1:C", "nucleo:GND.1", "black", [ "v0" ] ],
[ "btn1:1.l", "bb1:20t.a", "", [ "$bb" ] ],
[ "btn1:2.l", "bb1:18t.a", "", [ "$bb" ] ],
[ "btn1:1.r", "bb1:20b.f", "", [ "$bb" ] ],
[ "btn1:2.r", "bb1:18b.f", "", [ "$bb" ] ]
],
"dependencies": {}
}