pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).