|
|
@ -23,8 +23,8 @@ static const char *TAG = "ugv_io"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static constexpr mcpwm_unit_t MCPWM_UNIT = MCPWM_UNIT_0; |
|
|
|
static constexpr mcpwm_unit_t MCPWM_UNIT = MCPWM_UNIT_0; |
|
|
|
static constexpr gpio_num_t MOTOR_LEFT_PWM = GPIO_NUM_0; |
|
|
|
static constexpr gpio_num_t MOTOR_LEFT_PWM = GPIO_NUM_2; |
|
|
|
static constexpr gpio_num_t MOTOR_LEFT_DIR = GPIO_NUM_2; |
|
|
|
static constexpr gpio_num_t MOTOR_LEFT_DIR = GPIO_NUM_0; |
|
|
|
static constexpr gpio_num_t MOTOR_RIGHT_PWM = GPIO_NUM_12; |
|
|
|
static constexpr gpio_num_t MOTOR_RIGHT_PWM = GPIO_NUM_12; |
|
|
|
static constexpr gpio_num_t MOTOR_RIGHT_DIR = GPIO_NUM_16; |
|
|
|
static constexpr gpio_num_t MOTOR_RIGHT_DIR = GPIO_NUM_16; |
|
|
|
|
|
|
|
|
|
|
|