One output to many output?

Hi everyone,
Is it possible to use one pin output and depending on the analogWrite() intensity, have it decide which led to light up?

Thanks

Yes, you can use the LM3914 LED driver
http://www.biltek.tubitak.gov.tr/gelisim/elektronik/dosyalar/21/LM3914.pdf
Using circuit some thing like this


and your PWM pin signal pass thru low pass filter to get the DC voltage to drive the LM3914 input.

Hello there BillHo,
Are there any that you can get from a local RadioShack? What I'm trying to do is light up some LED but I only have 2 available pins left. Do you have any recommendations if you are running out of pins to light up your LED?

Thanks

SeanD:
What I'm trying to do is light up some LED but I only have 2 available pins left. Do you have any recommendations if you are running out of pins to light up your LED?

How many LED? you can try this
http://arduino.cc/en/Tutorial/ShiftOut

Sure, use your 2 pins control aregister. Clock & Data.

Here's an example using a similar part. Data is clocked thru, and shows up on the output with each clock (vs a 74HC595, where an extra clock signal latches the output register).

Thanks guys! I think I will be ordering a few shift registers. it seems to fit my purpose.