This code is used to calibrate the frequency of the PCA9685 I2C 16 channel servo driver using a 30 pin ESP32 DEVKIT V1 board. Note that the circuit used here does not allow for hooking up 5VDC power ...
Analog joystick (Y axis) controls servo pulse. SW button cycles through servo channels 0–5. PWM cuts after idle to eliminate wiggle. const int SERVO_MIN[NUM_SERVOS] = {100, 90, 90, 80, 150, 370}; ...