You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
376 B
Python

PIN_CONFIG = {
"left": {
"encoder": {"cpr": 1320, "pin_a": 0, "pin_b": 1},
"motor": {"pwm": 23, "in1": 22, "in2": 21},
},
"right": {
"encoder": {"cpr": 1320, "pin_a": 2, "pin_b": 3},
"motor": {"pwm": 19, "in1": 18, "in2": 17},
},
"bluetooth": {"uart_id": 8, "tx_pin": 35, "rx_pin": 34, "state_pin": 36},
}
DUTY_MAX = 65535