Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Increase motors output frequency

Oleg Kalachevedd249566ec1
diff --git a/flix/motors.ino b/flix/motors.ino
index 7287aca..36b60e9 100644
--- a/flix/motors.ino
+++ b/flix/motors.ino
@@ -10,7 +10,7 @@
#define MOTOR_2_PIN 14 // front right
#define MOTOR_3_PIN 15 // front left
-#define PWM_FREQUENCY 200
+#define PWM_FREQUENCY 500
#define PWM_RESOLUTION 8
void setupMotors() {