Latching an LED for a set time… Why can't I figure this one out!?

Hi all,

I am sure this has a very simple solution but I can't get it to work.
Quite simply I have a button that when pushed, needs to light an LED for 5 seconds and then revert back to its LOW state. I can't use the "delay" function as I need the arduino's processor to carry on waiting for other button presses and carry out the same task for other button and LED combinations.

Can anyone point me in the right direction?

Thanks,
Duncan

Have a look at the Blink Without Delay example in the Learning > Examples tab, also available in the IDE at File > Examples > 2. digital