{
  "version": 1,
  "author": "Anonymous maker",
  "editor": "wokwi",
  "parts": [
    { "type": "wokwi-arduino-mega", "id": "mega", "top": -268.2, "left": -147.6, "attrs": {} },
    { "type": "wokwi-microsd-card", "id": "sd1", "top": -172.57, "left": -86.33, "attrs": {} },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": -320.2,
      "left": 96,
      "attrs": { "color": "green", "key": "1", "bounce": "1" }
    },
    {
      "type": "wokwi-pushbutton",
      "id": "btn2",
      "top": -368.2,
      "left": 96,
      "attrs": { "color": "blue", "key": "2" }
    },
    { "type": "wokwi-slide-switch", "id": "sw1", "top": -418, "left": 41.5, "attrs": {} },
    { "type": "wokwi-vcc", "id": "vcc1", "top": -402.44, "left": -153.6, "attrs": {} },
    {
      "type": "wokwi-resistor",
      "id": "r1",
      "top": -158.4,
      "left": 229.85,
      "rotate": 90,
      "attrs": { "value": "100000" }
    },
    { "type": "wokwi-gnd", "id": "gnd1", "top": -124.8, "left": 249, "attrs": {} },
    {
      "type": "wokwi-pushbutton",
      "id": "btn3",
      "top": -358.6,
      "left": -134.4,
      "attrs": { "color": "yellow", "key": "3" }
    },
    { "type": "wokwi-dht22", "id": "dht1", "top": -402.9, "left": 273, "attrs": {} },
    {
      "type": "wokwi-resistor",
      "id": "r2",
      "top": -265.4,
      "left": 219.95,
      "rotate": 270,
      "attrs": { "value": "4700" }
    },
    { "type": "wokwi-slide-switch", "id": "sw2", "top": -264.4, "left": 291.1, "attrs": {} }
  ],
  "connections": [
    [ "sd1:CS", "mega:53", "green", [ "v9.66", "h233" ] ],
    [ "sd1:DI", "mega:51", "green", [ "h0" ] ],
    [ "sd1:VCC", "mega:VIN", "red", [ "h0" ] ],
    [ "sd1:SCK", "mega:52", "green", [ "h211.2", "v27.69" ] ],
    [ "sd1:GND", "mega:GND.3", "black", [ "h0" ] ],
    [ "sd1:DO", "mega:50", "green", [ "h0" ] ],
    [ "btn1:2.l", "mega:GND.2", "black", [ "h0" ] ],
    [ "mega:37", "btn1:1.r", "green", [ "h11.8", "v-123.5" ] ],
    [ "mega:GND.2", "btn2:2.l", "black", [ "v0" ] ],
    [ "btn2:1.r", "mega:36", "green", [ "h38.6", "v171.5" ] ],
    [ "mega:34", "r1:1", "green", [ "h45.8", "v30" ] ],
    [ "r1:2", "gnd1:GND", "green", [ "v-1.2", "h19.2" ] ],
    [ "mega:GND.2", "sw1:1", "black", [ "v0" ] ],
    [ "mega:35", "sw1:2", "green", [ "h-2.6", "v-181.2", "h-163.3" ] ],
    [ "vcc1:VCC", "btn3:1.l", "red", [ "v0" ] ],
    [ "mega:34", "btn3:2.r", "green", [ "v1.2", "h-280.8" ] ],
    [ "r2:2", "dht1:VCC", "green", [ "v1.2", "h38.4" ] ],
    [ "dht1:VCC", "mega:VIN", "red", [ "v230.4", "h-242.1" ] ],
    [ "mega:GND.3", "dht1:GND", "black", [ "v35.7", "h280.65" ] ],
    [ "mega:A12", "sw2:2", "green", [ "v16.5", "h125.95" ] ],
    [ "sw2:1", "dht1:SDA", "green", [ "h-28.8", "v-38.4", "h28.7" ] ],
    [ "r2:1", "sw2:1", "green", [ "h0" ] ]
  ],
  "dependencies": {}
}