Increase motors PWM frequency to 1000

To match the main loop frequency
This commit is contained in:
Oleg Kalachev 2025-01-12 15:35:05 +03:00
parent ac54c954aa
commit f456e10177

View File

@ -11,7 +11,7 @@
#define MOTOR_2_PIN 14 // front right #define MOTOR_2_PIN 14 // front right
#define MOTOR_3_PIN 15 // front left #define MOTOR_3_PIN 15 // front left
#define PWM_FREQUENCY 500 #define PWM_FREQUENCY 1000
#define PWM_RESOLUTION 12 #define PWM_RESOLUTION 12
#define PWM_STOP 0 #define PWM_STOP 0
#define PWM_MIN 0 #define PWM_MIN 0