There are many libraries available for this IC. Notably, there is even one by Adafruit. Their library works well too, their demo code proves it. Like many other libraries onlines, though, I have some ...
Library to control a PCA9685 16-channel PWM driver module from an Arduino board. Licensed under the copy-left GNU GPL v3 license. Created by Kasper Skårhøj, August 3rd, 2012. Forked by Vitska, June ...