Test code for accessing the GPIO pins on a raspberry pi