I am rather new to the Arduino, and am trying to figure out the code for the 74HC595 shift register. I have read the ShiftOut references and tutorials on Arduino.cc, and think I understand the general idea as to how this works. Out of all of the examples they offer, I still don't exactly know how to best code what I am trying to do.
Basically, all I want to do is be able to turn on any one of the 8 LEDs I have hooked up to the 74HC595 at a time, and turn the others off (only one LED lit at a time). What is the best way to go about this?