taking input from tactile switches | Microcontroller › 8051 › taking input from tactile switches This topic has 1 reply, 2 voices, and was last updated 11 years, 5 months ago by sourabh. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 28, 2011 at 10:38 am #1354 KigongoParticipant What condition must be used (while of if) when the input is taken from tactlie switches? November 2, 2011 at 10:16 am #6783 sourabhParticipant 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. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In