I dug out a pile of my old electronic components to see if anything would be useful with my Arduino only to discover that most of the stuff I have just isn’t needed when you are using a microcontroller. I did, however, have a 7-segment LED. At first I plugged it into the outputs on the Arduino, but this used up nearly all of them to run the single 7-segment LED. I did some searching and came across the amazing shift register. I had never used one before, but found this great introduction at bildr, including sample code for controlling eight LEDs. I replaced the LEDs from the example with my LED segments and voila! It worked! I didn’t feel like getting my camera out, so this post has an awful cell phone picture with bad lighting. It is showing a J on my 7-segment LED.
|
|
Scooped by
Gumersindo Fernández
onto tecno4 March 21, 2013 8:25 AM
|
Your new post is loading...