Simple code for 360pwm servo using adafruit library and PCA9685 board

UKHeliBob, I forgot to add this info...

Arduino Mega, PCA9685 board is plugged into the I2C1 port and Power is coming from the 5v pin and gnd to mega. The servo power is from separate battery pack into terminal on the PCA9685 board.

Ok I will send that code soon....