-
Notifications
You must be signed in to change notification settings - Fork 0
/
diagram.json
66 lines (66 loc) · 1.66 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
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-nano", "id": "nano", "top": -72.67, "left": -74.67, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": -149.37,
"left": 84.83,
"attrs": { "color": "red" }
},
{
"type": "wokwi-servo",
"id": "servo1",
"top": -15.36,
"left": 110.83,
"rotate": 270,
"attrs": {}
},
{
"type": "wokwi-led",
"id": "led2",
"top": -149.36,
"left": 122.84,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": -150.03,
"left": 167.5,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led",
"id": "led4",
"top": -152.7,
"left": 209.5,
"attrs": { "color": "red" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -143.7,
"left": -11.54,
"attrs": { "color": "green" }
}
],
"connections": [
[ "nano:5V", "servo1:V+", "red", [ "v0" ] ],
[ "nano:9", "servo1:PWM", "green", [ "v0" ] ],
[ "nano:GND.1", "servo1:GND", "black", [ "v0" ] ],
[ "led1:A", "nano:3", "green", [ "v0" ] ],
[ "led1:C", "nano:GND.2", "green", [ "v0" ] ],
[ "led2:A", "nano:4", "green", [ "v0" ] ],
[ "led2:C", "nano:GND.2", "green", [ "v0" ] ],
[ "led3:C", "nano:GND.2", "green", [ "v0" ] ],
[ "led3:A", "nano:5", "green", [ "v0" ] ],
[ "led4:A", "nano:GND.2", "green", [ "v0" ] ],
[ "led4:C", "nano:6", "green", [ "v0" ] ],
[ "btn1:1.r", "nano:2", "green", [ "v0" ] ],
[ "btn1:2.r", "nano:GND.2", "green", [ "h0" ] ]
]
}