Spaces:
Build error
Build error
Update config.py
Browse files
config.py
CHANGED
@@ -31,25 +31,25 @@ classifier_class_mapping = {
|
|
31 |
0: {'protocol': 'UART',
|
32 |
'pin_connection_from_hw_to_arduino': {
|
33 |
'arduino_mega': [('RX-->19, TX-->18')],
|
34 |
-
'arduino_uno': [('RX-->0, TX-->1')]
|
35 |
}
|
36 |
},
|
37 |
1: {'protocol': 'SPI',
|
38 |
'pin_connection_from_hw_to_arduino': {
|
39 |
-
'
|
40 |
-
'arduino_uno': [('SCK-->13, MOSI-->11, MISO-->12, CS-->10')]
|
41 |
}
|
42 |
},
|
43 |
2: {'protocol': 'I2C',
|
44 |
'pin_connection_from_hw_to_arduino': {
|
45 |
-
'
|
46 |
-
'arduino_uno': [('SDA-->A4, SCL-->A5')],
|
47 |
}
|
48 |
},
|
49 |
3: {'protocol': 'Explicit declaration',
|
50 |
'pin_connection_from_hw_to_arduino': {
|
51 |
-
'
|
52 |
-
'arduino_uno': [('DATA-->any digital or analog pins')],
|
53 |
}
|
54 |
}
|
55 |
}
|
|
|
31 |
0: {'protocol': 'UART',
|
32 |
'pin_connection_from_hw_to_arduino': {
|
33 |
'arduino_mega': [('RX-->19, TX-->18')],
|
34 |
+
# 'arduino_uno': [('RX-->0, TX-->1')]
|
35 |
}
|
36 |
},
|
37 |
1: {'protocol': 'SPI',
|
38 |
'pin_connection_from_hw_to_arduino': {
|
39 |
+
'arduino': [('SCK-->52, MOSI-->51, MISO-->50, CS-->53')],
|
40 |
+
# 'arduino_uno': [('SCK-->13, MOSI-->11, MISO-->12, CS-->10')]
|
41 |
}
|
42 |
},
|
43 |
2: {'protocol': 'I2C',
|
44 |
'pin_connection_from_hw_to_arduino': {
|
45 |
+
'arduino': [('SDA-->20, SCL-->21')],
|
46 |
+
# 'arduino_uno': [('SDA-->A4, SCL-->A5')],
|
47 |
}
|
48 |
},
|
49 |
3: {'protocol': 'Explicit declaration',
|
50 |
'pin_connection_from_hw_to_arduino': {
|
51 |
+
'arduino': [('DATA-->any digital or analog pins')],
|
52 |
+
# 'arduino_uno': [('DATA-->any digital or analog pins')],
|
53 |
}
|
54 |
}
|
55 |
}
|