{
"version": 1,
"author": "Habiburrahman",
"editor": "wokwi",
"parts": [
{ "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 0, "left": 0, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -41.8,
"left": -124.8,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -95.24, "left": -28.8, "attrs": {} },
{ "type": "wokwi-rgb-led", "id": "rgb1", "top": 23.2, "left": 327.5, "attrs": {} },
{ "type": "wokwi-slide-switch", "id": "sw1", "top": 71.6, "left": -112.1, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 51.4,
"left": -87.25,
"rotate": 270,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 41.8,
"left": -202.45,
"rotate": 270,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": 12,
"left": 395.4,
"attrs": { "volume": "0.1" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 412.8, "left": -67.8, "attrs": {} }
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "vcc1:VCC", "nucleo:5V.2", "red", [ "v0" ] ],
[ "r1:2", "vcc1:VCC", "red", [ "h0" ] ],
[ "btn1:2.r", "vcc1:VCC", "red", [ "h0" ] ],
[ "nucleo:PA0", "r1:1", "purple", [ "h47.02", "v-152.77", "h-124.8" ] ],
[ "nucleo:PB1", "rgb1:R", "green", [ "h-0.98", "v58.43", "h268.8" ] ],
[ "rgb1:COM", "gnd1:GND", "green", [ "v287.6", "h-393.5" ] ],
[ "rgb1:G", "nucleo:PB0.1", "green", [ "v0" ] ],
[ "bz1:1", "rgb1:COM", "green", [ "v19.2", "h-76.8" ] ],
[ "bz1:2", "nucleo:PB2", "green", [ "v0" ] ],
[ "sw1:2", "gnd1:GND", "green", [ "v249.6", "h38.5" ] ],
[ "sw1:3", "r1:1", "green", [ "v19.2", "h19.4" ] ],
[ "r2:2", "btn1:1.r", "green", [ "h28.8", "v-75.6", "h9.6" ] ],
[ "nucleo:PA1", "r2:2", "green", [ "h-164.18", "v-229.57" ] ],
[ "r2:1", "gnd1:GND", "green", [ "h0", "v288", "h115.2" ] ]
],
"dependencies": {}
}Loading
st-nucleo-c031c6
st-nucleo-c031c6