- This topic has 1 reply, 2 voices, and was last updated 10 years, 11 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.
|
Microcontroller › 8051 › up and down arrow in keypad
i want a code for incrementing and decrementing the display on lcd by using up and down arrows
take one counter variable count
increment it with count++
decrement it with count–
to display count on LCD first saparate all its digit like it count is 15 saparate 1 and 5
then convert all digits into ASCII by adding 30h like 1 = 31h and 5 = 35h
then just display these 31h and 35h on LCD by sending data