forked from tino/pyFirmata
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathboards.py
30 lines (30 loc) · 960 Bytes
/
boards.py
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
BOARDS = {
'arduino': {
'digital': tuple(x for x in range(14)),
'analog': tuple(x for x in range(6)),
'pwm': (3, 5, 6, 9, 10, 11),
'use_ports': True,
'disabled': (0, 1) # Rx, Tx, Crystal
},
'arduino_mega': {
'digital': tuple(x for x in range(54)),
'analog': tuple(x for x in range(16)),
'pwm': tuple(x for x in range(2, 14)),
'use_ports': True,
'disabled': (0, 1) # Rx, Tx, Crystal
},
'arduino_due': {
'digital': tuple(x for x in range(54)),
'analog': tuple(x for x in range(12)),
'pwm': tuple(x for x in range(2, 14)),
'use_ports': True,
'disabled': (0, 1) # Rx, Tx, Crystal
},
'arduino_nano': {
'digital': tuple(x for x in range(14)),
'analog': tuple(x for x in range(8)),
'pwm': (3, 5, 6, 9, 10, 11),
'use_ports': True,
'disabled': (0, 1) # Rx, Tx, Crystal
}
}