Close or Esc Key

Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

use backspace key of 4x4 keypad and display lcd(16x2) in PIC18f6520 microcontroller

5 posts / 0 new
Last post
anish
anish's picture
Offline
Last seen: 6 days 16 hours ago
Joined: 03/12/2018 - 16:00
use backspace key of 4x4 keypad and display lcd(16x2) in PIC18f6520 microcontroller

Hello,
i am new in PIC microcontroller i need your help,

i am interfacing LCD and a 4x4 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.

James
James's picture
Offline
Last seen: 4 days 5 hours ago
Joined: 28/11/2018 - 10:35
you need to first move cursor

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

anish
anish's picture
Offline
Last seen: 6 days 16 hours ago
Joined: 03/12/2018 - 16:00
Thank You Mr. James...
Thank You Mr. James... i will try to use your concept....
anish
anish's picture
Offline
Last seen: 6 days 16 hours ago
Joined: 03/12/2018 - 16:00
use backspace key of 4x4 keypad and display lcd(16x2) in PIC18f6

is there any other way??..

 

David
David's picture
Offline
Last seen: 8 hours 28 min ago
Joined: 28/11/2018 - 10:50
What problem are you facing
What problem are you facing exactly ....