pi_gpio.cpp and pi_gpio.h make up a libary needed by the sampling codes