I'm probably missing something very basic but I was following the ShiftOut tutorial (http://arduino.cc/en/Tutorial/ShiftOut) where 8 LEDs are controlled using a shift register and had a question on the resistors.
I didn't have 8 LEDs but I did have a 8 segment LED display so I hooked that one up. My questions revolves around understanding why we need 8 resistors (one for each LED). I understand why we need a current limiting resistor when hooking up a LED but I don't understand why we need 8 of them.
I didn't put a current limiting resistor on each LED but I did put a resistor on the common ground pin of the 8 segment LED display. ( If I was working with 8 LEDs I guess it would be the same as removing the 8 resistors and replacing them with a single resistor between their common ground and the arduino ground connection.
My understanding was :
As current is flowing through the LED(s) it will pass through the resistor and current will be limited.
So instead of having 8 resistors on each LED, a single resistor on that ground connection would be the same.
If my understanding is correct, why don't we use a single resistor ?