{
  "version": 1,
  "author": "NURUL NAJWA MOHD YASSIN",
  "editor": "wokwi",
  "parts": [
    { "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 38.4, "left": 72.04, "attrs": {} },
    {
      "type": "wokwi-led",
      "id": "led1",
      "top": -13.2,
      "left": 196.2,
      "attrs": { "color": "magenta", "flip": "" }
    },
    {
      "type": "wokwi-resistor",
      "id": "r1",
      "top": 128.75,
      "left": -57.6,
      "attrs": { "value": "1000" }
    },
    {
      "type": "wokwi-resistor",
      "id": "r2",
      "top": 128.2,
      "left": 191.15,
      "rotate": 270,
      "attrs": { "value": "1200" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": 102.2,
      "left": -182.4,
      "attrs": { "env": "micropython-20231227-v1.22.0" }
    }
  ],
  "connections": [
    [ "esp:TX", "$serialMonitor:RX", "", [] ],
    [ "esp:RX", "$serialMonitor:TX", "", [] ],
    [ "r2:1", "esp:2", "green", [ "v0" ] ],
    [ "btn1:1.r", "esp:3V3", "green", [ "v0" ] ],
    [ "btn1:2.r", "esp:14", "green", [ "h0.2", "v38.6" ] ],
    [ "btn1:2.r", "r1:1", "green", [ "h0" ] ],
    [ "r1:2", "esp:GND.1", "green", [ "v0" ] ],
    [ "led1:A", "r2:2", "green", [ "v0" ] ],
    [ "led1:C", "esp:GND.2", "green", [ "v0" ] ]
  ],
  "dependencies": {}
}