ERM
10-25-2009, 09:50 AM
Hi Guys,
Well, was in Vegas not too long ago and saw an interesting effect I've been trying to replicate. I was watching a slot machine and noticed it had an LED border around the sign above the machine. It had many different patterns to it. The one pattern that got me interested was a sequencing pattern with a fade. It almost looked like what I would call a comet tail.
The effect was as follows: The first LED would light up (on), the next LED would then light up (on) and the first LED would dim just a little. When the third LED lit, the second LED would dim a little and the first a little more. You get the picture. As the LEDs sequenced around the sign, it would have a little tail behind it fading in intensity until off.
The thing that is driving me crazy is how to do this. Is this a PWM setup and how? I'm having difficulty arranging the code. Is there something else that would work other than PWM? Thanks in advance.
Tony
Well, was in Vegas not too long ago and saw an interesting effect I've been trying to replicate. I was watching a slot machine and noticed it had an LED border around the sign above the machine. It had many different patterns to it. The one pattern that got me interested was a sequencing pattern with a fade. It almost looked like what I would call a comet tail.
The effect was as follows: The first LED would light up (on), the next LED would then light up (on) and the first LED would dim just a little. When the third LED lit, the second LED would dim a little and the first a little more. You get the picture. As the LEDs sequenced around the sign, it would have a little tail behind it fading in intensity until off.
The thing that is driving me crazy is how to do this. Is this a PWM setup and how? I'm having difficulty arranging the code. Is there something else that would work other than PWM? Thanks in advance.
Tony