- This topic has 1 reply, 2 voices, and was last updated 6 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Hi
I find a little problem in this code.
The code will show nothing on LCD screen if the switch is not pressed at all. According to me, "If(sw==0){}" condition should be written under "while(1)" loop so that it keeps on checking the switch status and displays 0-9 whenever switch gets pressed.