EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / use backspace key of 4×4 keypad and display lcd(16×2) in PIC18f6520 microcontroller

use backspace key of 4×4 keypad and display lcd(16×2) in PIC18f6520 microcontroller

|

Microcontroller › PIC › use backspace key of 4×4 keypad and display lcd(16×2) in PIC18f6520 microcontroller

  • This topic has 4 replies, 3 voices, and was last updated 6 years, 5 months ago by MEGHA MEHARWADE.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 3, 2018 at 10:56 am #4978
    Logan
    Participant

    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.

    December 3, 2018 at 12:19 pm #14938
    Amerdas D K
    Participant

    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

    December 3, 2018 at 12:27 pm #14939
    Logan
    Participant

    Thank You Mr. James…
    i will try to use your concept….

    December 4, 2018 at 12:24 pm #14942
    Logan
    Participant

    is there any other way??..

     

    December 6, 2018 at 3:48 pm #14944
    MEGHA MEHARWADE
    Participant

    What problem are you facing exactly ….

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Kawai KDP 80 Electronic Piano Dead May 16, 2025
  • An Update On Tarrifs May 16, 2025
  • Trying to use a L9110s motor driver chip May 16, 2025
  • I want to make a CRT with some modifications But i have no Idea where to start May 16, 2025
  • Funny Images Thread! May 16, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise