From 72033cdd757d54912fcd58a871a27e250d847f41 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Thu, 9 Jan 2025 11:02:38 +0300 Subject: [PATCH] Increase motors PWM resolution to 12 bits --- flix/motors.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flix/motors.ino b/flix/motors.ino index 770a0fb..c7fdc5f 100644 --- a/flix/motors.ino +++ b/flix/motors.ino @@ -10,7 +10,7 @@ #define MOTOR_3_PIN 15 // front left #define PWM_FREQUENCY 500 -#define PWM_RESOLUTION 8 +#define PWM_RESOLUTION 12 #define PWM_MIN 0 #define PWM_MAX 1000000 / PWM_FREQUENCY