Example code of connecting Raspberry Pi with the Pololu Servo Controller. I am simulating the Serial communication in software.
Please click thumbnail image to start the video