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