This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using if statement

Hi all...
i need some small help and also an idea on how to write the code for the following condition.
i want something like:
i want to give a delay of 5 seconds and just want to check if the any key is presses from keypad within this 5 seconds. if it is pressed then go for GREEN LED or else if any key is not pressed within this 5 seconds they go for RED LED.
can anybody please give me an idea on how can i do it....

Parents Reply Children