We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6552bd0 commit b03de4eCopy full SHA for b03de4e
examples/servo/servo.ino
@@ -35,7 +35,7 @@ Adafruit_PWMServoDriver pwm = Adafruit_PWMServoDriver();
35
#define SERVOMAX 600 // This is the 'maximum' pulse length count (out of 4096)
36
#define USMIN 600 // This is the rounded 'minimum' microsecond length based on the minimum pulse of 150
37
#define USMAX 2400 // This is the rounded 'maximum' microsecond length based on the maximum pulse of 600
38
-#define SERVO_FREQ 60 // Analog servos run at ~60 Hz updates
+#define SERVO_FREQ 50 // Analog servos run at ~50 Hz updates
39
40
// our servo # counter
41
uint8_t servonum = 0;
@@ -99,4 +99,4 @@ void loop() {
99
100
servonum++;
101
if (servonum > 7) servonum = 0; // Testing the first 8 servo channels
102
-}
+}
0 commit comments