Monday, 4 February 2013

From one LED to seven


Another weekend and another hour spent with my Raspberry Pi. After a rummage about in my junk box I located a seven segment LED. Annoyingly the device was too small to span the gap on my breadboard. About ten minutes later I had fabricated a suitable socket. Once the Pi was fired up I wrote a quick bit of Python to check that I could control all the segments. As you can see from the photograph, this was a success. Next Sunday’s coding session will be to allow me to pass in a number via the command line and have the device display the correct number.

No comments: