-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
113 lines (113 loc) · 2.09 KB
/
config.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
104
105
106
107
108
109
110
111
112
113
{
"root": [
19
],
"blocks": {
"0": {
"id": 0,
"pins": [
25
],
"name": "block0",
"module": "button",
"typeBlock": "trigger",
"options": {}
},
"1": {
"id": 1,
"pins": [
6,
13,
19,
26
],
"name": "block1",
"module": "motor",
"typeBlock": "action",
"options": {}
},
"2": {
"id": 2,
"pins": [
21,
20
],
"name": "block2",
"module": "scale",
"typeBlock": "observer",
"options": {}
}
},
"flowBlocks": {
"19": {
"id": 2,
"command": "under_300"
},
"20": {
"id": 0,
"command": "doublePress"
},
"21": {
"id": 1,
"command": "clockwise_200_120"
},
"23": {
"id": 1,
"command": "counter-clockwise_200_40"
}
},
"children": {
"19": [
20
],
"20": [
21
],
"21": [
22
],
"22": [
23
],
"23": []
},
"loops": {
"22": {
"repeat": 3,
"target": 9
}
},
"default": {
"id": null,
"pins": [],
"name": "",
"module": "",
"typeBlock": "",
"options": {}
},
"relations": {
"action": [
"motor"
],
"trigger": [
"button"
],
"observer": [
"scale"
],
"loop": []
},
"options": {},
"colors": {
"action": "red",
"trigger": "blue",
"observer": "yellow",
"loop": "pink",
"motor": "red",
"button": "blue",
"scale": "yellow"
},
"id": 3,
"flowId": 0,
"fileName": "config.json"
}