A schematic is available here.
Setup The RPI Ready To Use The PiFace
PiFace uses the SPI port. Enable the SPI port following the instructions here.
C Source Code
Our C driver for the PiFace can be downloaded from GitHub here.
We also have a version which allows PiFace inputs to be used as outputs and allows sequential writing to them here.