i need you help

Hi friends
I am beginner in programming and I need your help, I want to programe 3 LED controled by two button if I press the button 1 and in the interval of 3 sec I have to activate button 2 to the LED 1 function, if not nothings happends,and the programe must ingnor the button state (if the button 1 still pressed)

What have you written so far?

help != writing your code for you

Also it helps if you post a sketch of your schematic so we have an idea of what is connected to where.

Have a look at the examples that come with the Arduino IDE and at the Useful Links Thread.


One of the classical homework assignments?