Taking on PIC's
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...:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment