Example code for the Raspberry PI