-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiagram.json
103 lines (103 loc) · 2.93 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"version": 1,
"author": "Naylane do Nascimento Ribeiro",
"editor": "wokwi",
"parts": [
{
"type": "board-pi-pico-w",
"id": "pico",
"top": -32.05,
"left": -351.65,
"attrs": { "builder": "pico-sdk" }
},
{
"type": "wokwi-analog-joystick",
"id": "joystick1",
"top": -163.8,
"left": -253.8,
"attrs": {}
},
{
"type": "wokwi-led",
"id": "led1",
"top": 44.4,
"left": -476.2,
"attrs": { "color": "blue" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 119.15,
"left": -412.8,
"attrs": { "value": "150" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": 44.4,
"left": -447.4,
"attrs": { "color": "green" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 109.55,
"left": -412.8,
"attrs": { "value": "220" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 128.75,
"left": -412.8,
"attrs": { "value": "220" }
},
{ "type": "wokwi-led", "id": "led2", "top": 44.4, "left": -505, "attrs": { "color": "red" } },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -13,
"left": -499.2,
"attrs": { "color": "grey", "xray": "1" }
},
{
"type": "board-ssd1306",
"id": "oled1",
"top": 175.94,
"left": -249.37,
"attrs": { "i2cAddress": "0x3c" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 134.4, "left": -250.2, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc1", "top": 106.36, "left": -211.2, "attrs": {} }
],
"connections": [
[ "pico:GP0", "$serialMonitor:RX", "", [] ],
[ "pico:GP1", "$serialMonitor:TX", "", [] ],
[ "pico:GP26", "joystick1:HORZ", "green", [ "h0" ] ],
[ "pico:GP27", "joystick1:VERT", "green", [ "h0" ] ],
[ "pico:3V3", "joystick1:VCC", "green", [ "h0" ] ],
[ "pico:GND.6", "joystick1:GND", "black", [ "h0" ] ],
[ "pico:GP12", "r2:2", "green", [ "h0" ] ],
[ "r2:1", "led1:A", "green", [ "v0", "h-9.6" ] ],
[ "pico:GP11", "r3:2", "green", [ "h0" ] ],
[ "r3:1", "led3:A", "green", [ "v0" ] ],
[ "pico:GND.3", "led1:C", "black", [ "h0" ] ],
[ "pico:GND.3", "led3:C", "black", [ "h0" ] ],
[ "pico:GP22", "joystick1:SEL", "green", [ "h0" ] ],
[ "pico:GP13", "r1:2", "green", [ "h0" ] ],
[ "r1:1", "led2:A", "green", [ "v0", "h-57.6" ] ],
[ "pico:GND.3", "led2:C", "black", [ "h0" ] ],
[ "pico:GP5", "btn1:2.r", "red", [ "h-48", "v-29" ] ],
[ "pico:GND.1", "btn1:1.r", "black", [ "h0" ] ],
[ "oled1:GND", "gnd1:GND", "black", [ "v-48", "h-28.8" ] ],
[ "oled1:VCC", "vcc1:VCC", "red", [ "v0" ] ],
[
"oled1:SDA",
"pico:GP15",
"blue",
[ "v-19.2", "h48.07", "v105.6", "h-230.4", "v-105.6", "h19.2" ]
],
[ "oled1:SCL", "pico:GP14", "gold", [ "v-28.8", "h67.5", "v124.8", "h-249.6", "v-124.8" ] ]
],
"dependencies": {}
}