Closed photodude closed 5 years ago
This change has been tested with our library extension which wraps this library, two Adafruit PCA9685 PWM Servo Drivers, an Arduino Uno, and 4 ESCs. The Internal oscillator frequency was adjusted using an oscilloscope until each Adafruit PCA9685 PWM Servo Driver produced a 50 Hz signal. With the correct 50Hz PWM signal the ESCs received the correct signal in their Servo receive line to calibrate, arm and drive the ESCs; prior to this change the ESCs behaved incorrectly and would not work in some cases. ESCs use the same 50Hz PWM signal as servos do.
Library incorrectly listed and used the update frequency for analog servos as 60 Hz, see references verifying analog servos should be run at 50 Hz updates