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

Please post the simplest possible but complete sketch that should drive the 360 degree "servo" at full speed that you say does not work. Either direction will do. Along with it please post a schematic showing how the components are connected and powered