From 7278e528f0649425de6f51eefd9dd90cb95044f1 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Wed, 10 Apr 2019 20:47:03 -0700 Subject: [PATCH] fix pins --- main/ugv_io.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/ugv_io.cc b/main/ugv_io.cc index 95e78fa..fd9c8b3 100644 --- a/main/ugv_io.cc +++ b/main/ugv_io.cc @@ -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;