Sample from rpi-gpio page I want to try out.