{
"version": 1,
"author": "Rafi Adyatma Darussalam",
"editor": "wokwi",
"parts": [
{ "type": "board-stm32-bluepill", "id": "stm1", "top": 190.64, "left": -128.43, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 15.6,
"left": -169,
"attrs": { "color": "purple" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 15.6,
"left": -92.2,
"attrs": { "color": "cyan" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": 15.6,
"left": -130.6,
"attrs": { "color": "magenta" }
},
{
"type": "wokwi-led",
"id": "led4",
"top": 15.6,
"left": -53.8,
"attrs": { "color": "blue" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 91.2,
"left": -173.35,
"rotate": 90,
"attrs": { "value": "100" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 91.2,
"left": -134.95,
"rotate": 90,
"attrs": { "value": "100" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 91.2,
"left": -96.55,
"rotate": 90,
"attrs": { "value": "100" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": 91.2,
"left": -58.15,
"rotate": 90,
"attrs": { "value": "100" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 303.8,
"left": -297.6,
"attrs": { "color": "grey" }
}
],
"connections": [
[ "led1:C", "stm1:GND.1", "black", [ "v0" ] ],
[ "stm1:GND.1", "led3:C", "black", [ "h-38.4", "v-220.8", "h38.4", "v-9.6" ] ],
[ "stm1:GND.1", "led2:C", "black", [ "h-38.4", "v-220.8", "h76.8" ] ],
[ "stm1:GND.1", "led4:C", "black", [ "h-38.4", "v-220.8", "h115.2" ] ],
[ "led1:A", "r1:1", "red", [ "v0" ] ],
[ "led3:A", "r2:1", "red", [ "v0" ] ],
[ "led2:A", "r3:1", "red", [ "v0" ] ],
[ "led4:A", "r4:1", "red", [ "v0" ] ],
[ "stm1:A4", "r1:2", "red", [ "h26.87", "v-124.8", "h-9.6" ] ],
[ "stm1:A3", "r2:2", "red", [ "h36.47", "v-144", "h-86.4" ] ],
[ "stm1:A2", "r3:2", "red", [ "h46.07", "v-163.2", "h-67.2" ] ],
[ "stm1:B5", "btn1:1.r", "gold", [ "h-86.4", "v-9.6" ] ],
[ "r4:2", "stm1:C13", "green", [ "h48", "v27.6" ] ],
[ "btn1:2.l", "stm1:3V3.1", "gold", [ "h-28.8", "v48.2" ] ]
],
"dependencies": {}
}
Loading
stm32-bluepill
stm32-bluepill