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

CAN ANYONE HELP ME FOR CODE TO LIGHT UP AN LED WHEN A SWITCH IS PRESSED

Hi, I am unable to write the logic for the statement "whenever a switch is pressed the LED has to glow.If the switch is pressed for the 2nd time the next led should glow and so on".Please help me..:-(

Parents
  • So - you wouldn't have gotten this assignment without also have received some instructions in either assembler or C programming.

    What have you tried? What did happen? What did you expect to happen?

    Note that it really is not enough to specify "ARM" - the code to detect an input or control an output depends on what _specific_ processor you are using.

Reply
  • So - you wouldn't have gotten this assignment without also have received some instructions in either assembler or C programming.

    What have you tried? What did happen? What did you expect to happen?

    Note that it really is not enough to specify "ARM" - the code to detect an input or control an output depends on what _specific_ processor you are using.

Children
No data