All about Charlieplexing LEDs
Too few pins, too many LED’s? It’s a common problem when working with micro-controllers. You might want to try a technique called “Charlieplexing”. This is a great instructable that describes how to implement this technique on your next project. Learn all about Charlieplexing