Datasheet

Fritzing Source
https://adafru.it/zew
LED cathode / shorter leg to PCA9685 channel GND / ground.
LED anode / longer leg to PCA9685 channel PWM.
Now in the Python REPL you can create an instance of the basic PCA9685 class which provides low-level PWM control
of the board's channels:
The PCA9685 class provides control of the PWM frequency and each channel's duty cycle. Check out the PCA9685
class documentation for more details.
For dimming LEDs you typically don't need to use a fast PWM signal frequency and can set the board's PWM frequency
to 60hz by setting the frequency attribute:
The PCA9685 supports 16 separate channels that share a frequency but can have independent duty cycles. That way
you could dim 16 LEDs separately!
The PCA9685 object has a channels attribute which has an object for each channel that can control the duty cycle. To
get the individual channel use the [] to index into channels.
pca = adafruit_pca9685.PCA9685(i2c)
pca.frequency = 60
© Adafruit Industries https://learn.adafruit.com/16-channel-pwm-servo-driver Page 23 of 29