Use 2 shift regiter cips to control 10 leds (or 1 led bar) with use only 3 pins from Arduino.

Use 2 shift regiter cips to control 10 leds (or 1 led bar) with use only 3 pins from Arduino. For code use http://arduino.cc/en/Tutorial/ShiftOut