- This topic has 4 replies, 3 voices, and was last updated 5 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › use backspace key of 4×4 keypad and display lcd(16×2) in PIC18f6520 microcontroller
Hello,
i am new in PIC microcontroller i need your help,
i am interfacing LCD and a 4×4 keypad with PIC18f6520. i wrote the code in embedded C. when ever user press a key, it is displayed on LCD. i made the checks for keypad like this (for printing 1)
row_1 =1;
if(colum_1==1){
while(colum_1==1)
LCD_data('7')
}
can some one please help me how i can use backspace function in this case for removing characters on LCD one by one, (just like mobile and keyboard) and also guide me about any library if required for that method.
For example-
pressed key 012345
pressed backspace key – 01234, again-0123 so on.
Thank in Advanced.
you need to first move cursor position to left (by sending 0x10) and print space (' ') to the LCD. for programming PIC on Proteus, you can easily find a library online for LCD
Thank You Mr. James…
i will try to use your concept….
is there any other way??..
What problem are you facing exactly ….