-
Notifications
You must be signed in to change notification settings - Fork 2
/
service_controller_pololu_slave_i2c_romi.json
75 lines (75 loc) · 1.81 KB
/
service_controller_pololu_slave_i2c_romi.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
{
"service_type": "controller_pololu_slave_i2c",
"instance_name": "pololu_slave_i2c_1_romi",
"subtopic": "robot",
"interval_ms": 100,
"dev_path": "/dev/i2c-1",
"slave_data_types": {
"led_yellow": {
"format": "?",
"num_items": 1,
"write": true,
"initial": [false]
},
"led_green": {
"format": "?",
"num_items": 1,
"write": true,
"initial": [false]
},
"led_red": {
"format": "?",
"num_items": 1,
"write": true,
"initial": [false]
},
"btn_a": {
"format": "?",
"num_items": 1,
"write": false
},
"btn_b": {
"format": "?",
"num_items": 1,
"write": false
},
"btn_c": {
"format": "?",
"num_items": 1,
"write": false
},
"motors": {
"format": "h",
"num_items": 2,
"write": true,
"initial": [0, 0]
},
"batt_millivolts": {
"format": "H",
"num_items": 1,
"write": false
},
"analog_in": {
"format": "H",
"num_items": 6,
"write": false
},
"notes_play": {
"format": "?",
"num_items": 1,
"write": true,
"initial": [false]
},
"notes": {
"format": "s",
"num_items": 14,
"write": true,
"initial": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
},
"encoders": {
"format": "h",
"num_items": 2,
"write": false
}
}
}