Trailing

Hello,

I bought an Arduino 'Diecimila' a while ago, and I wanted to make a moving light like Knight Rider 2009.

(Moving only one way, as the 'Diecimila' only supports 14 output pins)
But I want have a trailing feature in it, but I cant get it to work.
I have no idea how I can make it.

I do know how to make a LED or more LED's to move from left to right and back. But I am trying for ages to make a few LED's trail behind it. (A.k.a afterglow)

Does anyone have a example for this?

you could try controlling the trailing leds via pwm.

Sounds a lot like a post just a few below this one:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1255404102

Or if you don't need precise or software adjustable control, you could just fade the LEDs with hardware. Maybe something like this:
http://metku.net/index.html?path=mods/colorfade/index_eng

Sorry for my late reply.
Using shift registers is nog an option in my case, I have no idea how to use those parts since I have never used it before, and have no idea how to use those to get the desired effect.

I want to have it completely handled by the Arduino...
Isn't there any way to make all 14 pins support PWM?

That would be a lot more effective, so I can configure with a potentiometer how fast I want the effect to move, and how long the fading trail must be.

(Sorry for my bad English, I'm from The Netherlands)

On the 'Diecimila' you can only have 6 PWM pins.

But you can simulate PWM on th ordinary digital pins, by switching them on and of very fast.

There are lots of posts in the forum about doing that.

Do you have an example of that mathod?
I have tried it, but can't get it work to make it look faded...

You could get an Arduino Mega. It just happens to have 14 PWM outputs. I've not used a Mega, but I hear good things about the Seeeduino Mega.