How can I use PCA9685 Adafruit 16-Channel Servo Driver?

katsukiz2000's icon

Hi,I'm Katsuki
I'd like to use many servo motors,then I use PCA9685 Adafruit 16-Channel Servo Driver with Arduino.
https://learn.adafruit.com/16-channel-pwm-servo-driver/hooking-it-up

But I'm not sure how to use with Max/msp.
To output to servo,don't I use analogWrite?

I'm using Arduino uno and Max6.0.8
This patch of library also doesn't work.(message is "yield" was not declared in this scope)
https://learn.adafruit.com/16-channel-pwm-servo-driver/using-the-adafruit-library

Please help me anyone
Katsuki