-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiagram.json
44 lines (44 loc) · 1.41 KB
/
diagram.json
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
33
34
35
36
37
38
39
40
41
42
43
44
{
"version": 1,
"author": "yufan zu",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-c3-devkitm-1",
"id": "esp",
"top": -0.3,
"left": -3.78,
"attrs": { "builder": "esp-idf" }
},
{
"type": "board-ssd1306",
"id": "oled1",
"top": 185.54,
"left": -76.57,
"attrs": { "i2cAddress": "0x3c" }
},
{ "type": "wokwi-ky-040", "id": "encoder1", "top": 193.7, "left": 37.6, "attrs": {} },
{ "type": "wokwi-led", "id": "led1", "top": 6, "left": -121, "attrs": { "color": "red" } }
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "esp:GND.1", "oled1:GND", "black", [ "v0", "h-28.8" ] ],
[ "oled1:VCC", "esp:3V3.1", "red", [ "v0" ] ],
[ "esp:0", "oled1:SCL", "green", [ "h0" ] ],
[ "esp:1", "oled1:SDA", "green", [ "h0" ] ],
[ "esp:4", "encoder1:CLK", "green", [ "v0", "h45.58" ] ],
[ "esp:5", "encoder1:DT", "green", [ "h74.38", "v105.6", "h-9.6" ] ],
[ "esp:6", "encoder1:SW", "green", [ "h83.98", "v28.8" ] ],
[ "esp:GND.6", "encoder1:GND", "black", [ "v0", "h93.58", "v86.4", "h-9.6" ] ],
[
"encoder1:VCC",
"esp:3V3.2",
"red",
[ "h19.2", "v0.4", "h28.8", "v-230.4", "h-220.8", "v38.4" ]
],
[ "led1:A", "esp:2", "green", [ "v0" ] ],
[ "led1:C", "esp:GND.1", "green", [ "v-28.8", "h67.6" ] ]
],
"dependencies": {}
}