Hi.
I'm trying to make a dimmer for the roof-light in my car, so when I open the door the light fades on, and when I close the door the light fades off (fading takes about 4 seconds).
How can I do this easy?
This is what I have imagined:
+ ------|
R
|
12V --R--|...