I am sorry but i cant find the orgional code but it was based on our code on github.com/abelectronicsuk/ABElectronics_Python_Libraries/blob/master/ServoPi/demos/demo_servomove.py
The code is written in python and was based on github.com/abelectronicsuk/ABElectronics_Python_Libraries/blob/master/ServoPi/demos/demo_servomove.py but you can use github.com/adafruit/Adafruit-PWM-Servo-Driver-Library to drive the chip.