-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactions.json
42 lines (42 loc) · 869 Bytes
/
actions.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
{
"config":
{
"bus_speed": 100000,
"default_address": "0x02",
"default_delay": 5
},
"steps":
[
{
"action": "WRITE",
"data": [2, 3, 50],
"delay": 10
},
{
"action": "REPEAT",
"times": 10,
"delay": 20,
"steps":
[
{
"action": "READ",
"bytes_to_read": 1
},
{
"action": "CHECK_ADDR",
"address": "0xa2"
}
]
},
{
"action": "WRITE_THEN_READ",
"data": [10],
"bytes_to_read": 1
},
{
"action": "WRITE",
"address": "0x1f",
"data": [23, 255]
}
]
}