- Mon Jun 18, 2007 11:40 am
#31495
Actually, I think that you could view multiplexing as a good thing. If you slow it down enough, it'd look like marquee lights 

Where electronics enthusiasts find answers.
Philba wrote:I think this was said but I will put it in my own words.Greetings Philba,
bigglez wrote:Nicely done, sir!I heartily agree
Tomasu wrote:... I had assumed I'd need some "fancy" math which I'm not all that great at (and neither is a PIC for that matter).Look up strange attractors. The math isn't all that bad but when you are doing for a large number of LEDs, the cost can become burdensome.
Philba wrote:Look up strange attractors.Yup, that there is some of the "fancy" math I was talking about.
My PIC has other things it needs to do.Mine won't
I think you may also be able to use the PIC's built-in SPI feature to handle the updates, though I haven't tried that myself.SPI is just another form of a serial port. The MAX chip itself does SPI, though the shift registers will probably work fine off a normal port.
SPI is an interface, not a port.Right. I was just over simplifying. Its more of a protocol. And to me, really, a port is a protocol is an interface
That's all you need to do. Though a word of warning, different LEDs will likely have different brightness levels at different PWM voltages.Thats what I was talking about. I thought itd be better to have the different voltages on different SRs, one setup for each voltage level.
Resistors are dirt cheap.Yup. and I have a boat load. Though after hooking up that many resistors I might want to go smt ;D just to save space... 60 resistors. hmmm.