{
  "version": 1,
  "author": "이지선",
  "editor": "wokwi",
  "parts": [
    { "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 29.63, "left": 37.42, "attrs": {} },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": 255.8,
      "left": -182.4,
      "attrs": { "color": "green", "xray": "1" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn2",
      "top": 390.2,
      "left": -182.4,
      "attrs": { "color": "green", "xray": "1" }
    },
    {
      "type": "wokwi-led",
      "id": "led1",
      "top": 111.6,
      "left": -140.2,
      "attrs": { "color": "red" }
    },
    {
      "type": "wokwi-led",
      "id": "led2",
      "top": 111.6,
      "left": -63.4,
      "attrs": { "color": "red" }
    },
    {
      "type": "wokwi-resistor",
      "id": "r1",
      "top": 177.6,
      "left": -77.35,
      "rotate": 90,
      "attrs": { "value": "220" }
    },
    {
      "type": "wokwi-resistor",
      "id": "r2",
      "top": 177.6,
      "left": -154.15,
      "rotate": 90,
      "attrs": { "value": "220" }
    }
  ],
  "connections": [
    [ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
    [ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
    [ "nucleo:PA12", "btn2:1.l", "green", [ "h0", "v38.4", "h-249.6", "v-67.2" ] ],
    [ "nucleo:PA2", "btn1:1.l", "green", [ "h-240", "v-163.2" ] ],
    [ "btn1:2.r", "nucleo:3V3.2", "red", [ "h182.6", "v-67" ] ],
    [ "btn2:2.r", "nucleo:3V3.2", "red", [ "h182.6", "v-153.4", "h0", "v9.6" ] ],
    [ "led2:A", "nucleo:PD0", "green", [ "v0" ] ],
    [ "nucleo:PD1", "led1:A", "green", [ "v-38.4", "h-163.2", "v38.4" ] ],
    [ "r2:2", "nucleo:GND.5", "black", [ "h0", "v27.6" ] ],
    [ "r1:2", "nucleo:GND.5", "black", [ "v27.6", "h124.35" ] ]
  ],
  "dependencies": {}
}
Loading
st-nucleo-c031c6