Hi again,

Im Portugese next Europen winers cup (lol i hope)

In Portugese:

Pretendo controlar com um botao low pullup (ou mais se for necessario) um led da seguinte forma.
-Quando o botao esta desligado demore 40s a acender o led e depois fique aceso durante 3s.
Depois de apagado fique a espera de outro sinal (aqui podera ser um outro botao ou entao o mesmo quando fique no estado de ligado) e so volte a fazer a mesma rutina depois que o botao seja desligado led aceso.... ........

Now more dificult in my best Inglish:

I need to control a led with one low pullup pushbutton (or more if neded) to perform this tasck.
-Wen pushbutton is not pressed tacks 40s then turn on led for 3s.
So the led is now off then the code must whait for another signal ( i can use one more pushbutton or the same because e is on at this time) and then when this signal go to off e stars the rutine again, Wen pushbutton is not pressed tacks 40s then turn on led for 3s...


Thanks all