Microcontroller › 8051 › taking input from tactile switches › It depends upon how you want
November 2, 2011 at 10:16 am
#6783
sourabh
Participant
It depends upon how you want to use the switch and your programming logic.
If you are using “if ” condition uc rill check the state of the switch only once. But in case of while it will execute the instruction till the condition in while is true.