{
  "version": 1,
  "author": "IoT Class",
  "editor": "wokwi",
  "parts": [
    {
      "type": "wokwi-esp32-devkit-v1",
      "id": "esp",
      "top": 0,
      "left": 0,
      "attrs": {}
    },
    {
      "type": "wokwi-ssd1306",
      "id": "oled1",
      "top": -100,
      "left": 150,
      "attrs": {
        "i2cAddress": "0x3c"
      }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": 100,
      "left": 200,
      "attrs": {
        "color": "green",
        "label": "UP"
      }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn2",
      "top": 140,
      "left": 200,
      "attrs": {
        "color": "blue",
        "label": "DOWN"
      }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn3",
      "top": 180,
      "left": 200,
      "attrs": {
        "color": "red",
        "label": "SELECT"
      }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn4",
      "top": 220,
      "left": 200,
      "attrs": {
        "color": "yellow",
        "label": "BACK"
      }
    },
    {
      "type": "wokwi-buzzer",
      "id": "bz1",
      "top": 100,
      "left": -80,
      "attrs": {}
    }
  ],
  "connections": [
    [
      "esp:TX0",
      "$serialMonitor:RX",
      "",
      []
    ],
    [
      "esp:RX0",
      "$serialMonitor:TX",
      "",
      []
    ],
    [
      "oled1:GND",
      "esp:GND.1",
      "black",
      [
        "v-20",
        "h-60"
      ]
    ],
    [
      "oled1:VCC",
      "esp:3V3",
      "red",
      [
        "v-30",
        "h-80"
      ]
    ],
    [
      "oled1:SDA",
      "esp:D21",
      "green",
      [
        "v-40",
        "h-100"
      ]
    ],
    [
      "oled1:SCL",
      "esp:D22",
      "blue",
      [
        "v-50",
        "h-120"
      ]
    ],
    [
      "btn1:1.l",
      "esp:D25",
      "green",
      [
        "h-50"
      ]
    ],
    [
      "btn1:2.l",
      "esp:GND.1",
      "black",
      [
        "h-30",
        "v50"
      ]
    ],
    [
      "btn2:1.l",
      "esp:D26",
      "blue",
      [
        "h-60"
      ]
    ],
    [
      "btn2:2.l",
      "esp:GND.1",
      "black",
      [
        "h-40",
        "v30"
      ]
    ],
    [
      "btn3:1.l",
      "esp:D27",
      "red",
      [
        "h-70"
      ]
    ],
    [
      "btn3:2.l",
      "esp:GND.1",
      "black",
      [
        "h-50",
        "v10"
      ]
    ],
    [
      "btn4:1.l",
      "esp:D14",
      "yellow",
      [
        "h-80"
      ]
    ],
    [
      "btn4:2.l",
      "esp:GND.1",
      "black",
      [
        "h-60",
        "v-10"
      ]
    ],
    [
      "bz1:2",
      "esp:D13",
      "orange",
      [
        "h30"
      ]
    ],
    [
      "bz1:1",
      "esp:GND.1",
      "black",
      [
        "h20",
        "v30"
      ]
    ]
  ]
}
