Spot LED


I want to drive led with PWM capability of the Arduino, it’s OK i know i can do that.
But i want light up smoothly at 12h00 and down smoothly at 20h00, how i can do that? Perhaps not?


The Arduino does not know what time it is. But you can do 2 things :

Use a computer with some software to send a signal to the Arduino on the correct times.

Or use a real time clock IC, example here :