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 / Replies /  LCD not initialized! Check

 LCD not initialized! Check

|

Projects › Projects › How to interface GPS with PIC18F4550 Microcontroller ›  LCD not initialized! Check

July 28, 2012 at 5:26 pm #8350
AJISH ALFRED
Participant

 

LCD not initialized!

 

Check your circuit connections.

 

Still not working, then modify the lcdcmd() function as shown below.

 

void lcdcmd(unsigned char cmdout)
{
        lcdport=cmdout;             //Send command to lcdport=PORTB
        rs=0;                                               
        rw=0;

        Delay_ms(10);               //add a delay here also
        en=1;
        Delay_ms(10);
        en=0;
}

 

Also make sure that the PORTB, rs, rw, en are properly set as output, and the function Delay_ms() is generating millisecond delays as much as the parameter given in the function call.

RSS Recent Posts

  • Actin group needed for effective PCB software tutorials May 18, 2025
  • Kawai KDP 80 Electronic Piano Dead May 18, 2025
  • Doing consultancy work and the Tax situation? May 18, 2025
  • How to repair this plug in connector where wires came loose May 17, 2025
  • Lightbox circuit May 17, 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