summaryrefslogtreecommitdiff
path: root/diagram.json
blob: bbc88d99b579dab3143994798a9c6b95f51178b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "version": 1,
  "author": "Anonymous maker",
  "editor": "wokwi",
  "parts": [
    { "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 0, "left": 0, "attrs": {} },
    { "type": "wokwi-ili9341", "id": "lcd1", "top": -296.8, "left": 162.9, "attrs": {} },
    {
      "type": "wokwi-pushbutton",
      "id": "btn1",
      "top": 44.6,
      "left": 124.8,
      "attrs": { "color": "green", "xray": "1" }
    }
  ],
  "connections": [
    [ "esp:TX", "$serialMonitor:RX", "", [] ],
    [ "esp:RX", "$serialMonitor:TX", "", [] ],
    [ "esp:18", "lcd1:SCK", "green", [ "h0" ] ],
    [ "esp:23", "lcd1:MOSI", "green", [ "h0" ] ],
    [ "esp:16", "lcd1:D/C", "green", [ "h0" ] ],
    [ "esp:17", "lcd1:RST", "green", [ "h0" ] ],
    [ "esp:5", "lcd1:CS", "green", [ "h0" ] ],
    [ "esp:GND.2", "lcd1:GND", "black", [ "h120.04" ] ],
    [ "esp:5V", "lcd1:VCC", "red", [ "v19.2", "h206.59" ] ],
    [ "esp:GND.2", "btn1:1.l", "black", [ "h24.04", "v28.8" ] ],
    [ "btn1:1.l", "btn1:2.l", "black", [ "h0" ] ],
    [ "esp:4", "btn1:2.r", "green", [ "h0" ] ],
    [ "btn1:1.r", "btn1:2.r", "green", [ "v0" ] ]
  ],
  "dependencies": {}
}