summaryrefslogtreecommitdiff
path: root/diagram.json
diff options
context:
space:
mode:
Diffstat (limited to 'diagram.json')
-rw-r--r--diagram.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/diagram.json b/diagram.json
new file mode 100644
index 0000000..bbc88d9
--- /dev/null
+++ b/diagram.json
@@ -0,0 +1,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": {}
+} \ No newline at end of file