Browse Source

fix pins

drive-to-target
Alex Mikhalev 6 years ago
parent
commit
7278e528f0
  1. 4
      main/ugv_io.cc

4
main/ugv_io.cc

@ -23,8 +23,8 @@ static const char *TAG = "ugv_io"; @@ -23,8 +23,8 @@ static const char *TAG = "ugv_io";
}
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_DIR = GPIO_NUM_2;
static constexpr gpio_num_t MOTOR_LEFT_PWM = 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_DIR = GPIO_NUM_16;

Loading…
Cancel
Save