The next firmware release will include tested C demo files for the RoboPi API.
I am updating the sample code in the manual today as I just finished testing the samples.
I have already added the Python API which works with Python 2.7 and 3.2
I also added a "resetRoboPi" utility which wiggles GPIO#17 in case your code left a PWM or servo task running on RoboPi, this reboots RoboPi.
Here is a list of the samples coming to the product page (as a zip):
The demos also cover RoboPiInit(), pinMode(), etc.
I'll add a shell script or make file to compile the demos.