{
  "version": 1,
  "author": "IoTClass",
  "editor": "wokwi",
  "parts": [
    {
      "type": "wokwi-esp32-devkit-v1",
      "id": "esp",
      "top": 100,
      "left": 50,
      "attrs": {}
    },
    {
      "type": "wokwi-led",
      "id": "led",
      "top": -70,
      "left": 250,
      "attrs": {
        "color": "red"
      }
    },
    {
      "type": "wokwi-resistor",
      "id": "ledR",
      "top": -5,
      "left": 250,
      "attrs": {
        "value": "220"
      }
    },
    {
      "type": "wokwi-potentiometer",
      "id": "pot",
      "top": -90,
      "left": 0,
      "attrs": {
        "value": "512"
      }
    }
  ],
  "connections": [
    [
      "esp:TX0",
      "$serialMonitor:RX",
      "",
      []
    ],
    [
      "esp:RX0",
      "$serialMonitor:TX",
      "",
      []
    ],
    [
      "esp:D2",
      "led:A",
      "red",
      []
    ],
    [
      "led:C",
      "ledR:1",
      "black",
      []
    ],
    [
      "ledR:2",
      "esp:GND.1",
      "black",
      []
    ],
    [
      "pot:VCC",
      "esp:3V3",
      "red",
      []
    ],
    [
      "pot:GND",
      "esp:GND.1",
      "black",
      []
    ],
    [
      "pot:SIG",
      "esp:D34",
      "green",
      []
    ]
  ]
}
