diff --git a/Robotito/src/motors/motors.c b/Robotito/src/motors/motors.c index cd4514976fdc95e5acfa8151c888fa7ab63c2b51..eed4d2d51c0742fc2e3d47c29425f94ffc17d463 100644 --- a/Robotito/src/motors/motors.c +++ b/Robotito/src/motors/motors.c @@ -105,7 +105,7 @@ esp_err_t motor_stop(motor_h_t *m) esp_err_t motor_start(motor_h_t *m) { mcpwm_config_t pwm_config; - pwm_config.frequency = 1000 * FRECUENCY; //frequency = 500Hz, + pwm_config.frequency = 15000 * FRECUENCY; //frequency = 500Hz, pwm_config.cmpr_a = 0; //duty cycle of PWMxA = 0 pwm_config.cmpr_b = 0; //duty cycle of PWMxb = 0 pwm_config.counter_mode = MCPWM_UP_COUNTER;