Tuesday, 26 February 2013
LED Counter in Python on the Pi
Just a quick post to show a video clip of my Raspberry Pi controlling a seven segment LED via the Pi's GPIO port. I plan to extract the code into a reusable library. One possible use will be to display status / error codes whilst controlling other devices. Must stop playing with hardware and get back to the software.
DevWeek 2013
Well it’s that time of year again, they seem to fly by these
days. I’ll be off to DevWeek again soon. I’m booked in for the three day’s so
looking forward to some interesting sessions. I get to travel into London by
train so that’ll give me forty minutes of thinking time for new programming
projects. I can finally see some light at the end of the tunnel with all the
work I’m doing at home at the moment. In about a month’s time I should be able
to concentrate on some game programming. I need to get started with some proof
of concept ideas I have for my new Spectrum game. I’ll release more details
once I’ve got enough code to produce a video or demo. If anyone reading this is
going to DevWeek and wants to talk Z80 then let me know.
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.
Subscribe to:
Posts (Atom)