Using the servo library for PWMs via l2C

Hi everyone,
I needed to increase the amount of pwm pins of my yun. Therefore I bought the PCA9685 which provides 16 pwm pins, connected to the Arduino via l2C.
Now I wonder whether I can use the regular servo library to control servos, connected to the pvm pins of the extension.

Any ideas how to achieve this?

Thanks in advance :slight_smile:

Servos do not need to be attached to PWM pins.

No, you must use the registers of the PCA9685 to control the PWM of each output. That is accomplished by I2C transfers.