How to get the PivotPi Code
The PivotPi code is completely open source and available for download from Github here.
Get the PivotPi Code on Raspbian for Robots
If you use Raspbian for Robots the PivotPi libraries and examples will either be installed already or you can get them by running a DI Software Update / Update Software
Get the PivotPi Code on Your Own Card
If you run your own version of Raspbian you can use the following lines of code to get the libraries directly from Github and run the install script.
sudo curl https://raw.githubusercontent.com/DexterInd/Raspbian_For_Robots/master/upd_script/fetch_pivotpi.sh | bash
Programming the PivotPi in Python: All details on how to program the servo controller for the Raspberry Pi using the Python programming language can be found on this page
Programming the PivotPi in the Scratch Programming Language: read this guide to get the details on how to program the servo controller for the Raspberry Pi in the user-friendly Scratch environment
Other languages may get added and will be made available on Github