Saturday, February 13, 2016

Learning Pi programing in python, Led Project 1

Today I finally finish a slightly simple led project with my Raspberry Pi 2. First, let me start by explaining the why. In our mid term project class for computer science we were tasked with creating an interesting Led circuit using at least 6 LEDs, the GPIO pins, and a program we had written in python. After muddling around a few ideas, I chose to do a countdown using 11 LEDs and 1 rgb LED (red, green blue). The LEDs are a mix of red and yellow because at the moment that is all I have.
Below a few pictures, a screen shot of the code, and a video. Enjoy.










 In the video, 7 and 3 are backwards. I have changed them in the shown code. Really just an FYI. 



No comments:

Post a Comment