If you use LEDs, you may try Charlieplexing
http://www.arduino.cc/playground/code/charlieplex
With 6 Pins you can control 30 LEDs.
If you use LEDs, you may try Charlieplexing
http://www.arduino.cc/playground/code/charlieplex
With 6 Pins you can control 30 LEDs.