connecting mega to pca9685

i am having trouble connecting my arduino mega to my pca9685 servo controller, i think it might be the placement of my analog pins does anyone have the correct configuration.

Please post a link to the datasheet for the PCA9685.

If it is a shield and if it uses SPI or I2C it may not be compatible with a Mega

...R

Is it like the Adafruit controller here? If so, you can follow their tutorial for wiring and use.

The only difference is that the Uno uses pin 4 and 5 for I2C, and the Mega uses pin 21 and 22.

It is clearly explained on the page you linked to, "Hooking it Up" section.
Leo..

Connect it to the SDA and SCL pins on the mega next to pin 13. Those are for I2C