Ma se hai detto che riesci ad accenderli e spegnere, avrai scritto del codice.

Basta aggiungere un timer.