pigpio is a C library for the Raspberry Pi which allows control of the general purpose input outputs (gpios).