blob: 74f6f0f5fed4568533e56d04dd8efa0bc712c968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
RD_VERSION = 0x02
GET_VOLT = 0x03
f1 = {
'name': 'read_ver',
'call': RD_VERSION,
'params': 0,
'read': 2
}
f2 = {
'name': 'get_volt',
'call': GET_VOLT,
'params': 0,
'read': 2
}
FUNCTIONS = [f1, f2]
|