Wednesday, May 9, 2012

20 LED Multiplexer

The second project in the tips & tricks document is to control 6 LED's with only 3 GPIO pins.  I decided to take it a little further, and control 20 LED's with only 5 GPIO pins, and to use a sixth GPIO pin to use as an interrupt.
Video:



Code:
Second_Delay
Main Code

Math, design, etc...: