{
  "version": 1,
  "author": "Anonymous maker",
  "editor": "wokwi",
  "parts": [
    { "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 0, "left": 0, "attrs": {} },
    {
      "type": "wokwi-led",
      "id": "led1",
      "top": 255.6,
      "left": -130.6,
      "attrs": { "color": "red" }
    },
    { "type": "wokwi-potentiometer", "id": "pot1", "top": 133.1, "left": -144.2, "attrs": {} },
    {
      "type": "wokwi-resistor",
      "id": "r1",
      "top": 291.95,
      "left": -86.4,
      "attrs": { "value": "150" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": 15.8,
      "left": -134.4,
      "attrs": { "color": "green" }
    },
    { "type": "wokwi-gnd", "id": "gnd1", "top": 57.6, "left": -173.4, "attrs": {} },
    { "type": "wokwi-vcc", "id": "vcc1", "top": -18.44, "left": -163.2, "attrs": {} }
  ],
  "connections": [
    [ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
    [ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
    [ "pot1:VCC", "nucleo:3V3.1", "red", [ "v0" ] ],
    [ "pot1:GND", "nucleo:GND.3", "black", [ "v0" ] ],
    [ "pot1:SIG", "nucleo:PA0", "green", [ "v0" ] ],
    [ "led1:C", "pot1:GND", "green", [ "v0" ] ],
    [ "r1:1", "led1:A", "green", [ "v0" ] ],
    [ "nucleo:PA5", "r1:2", "green", [ "h0" ] ],
    [ "nucleo:PC13", "btn1:2.r", "green", [ "h0" ] ],
    [ "btn1:1.l", "gnd1:GND", "green", [ "h0" ] ]
  ],
  "dependencies": {}
}