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
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
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.