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 /  Still not working, then

 Still not working, then

|

Projects › Projects › How to interface GPS with PIC18F4550 Microcontroller ›  Still not working, then

July 28, 2012 at 5:32 pm #8351
AJISH ALFRED
Participant

 

Still not working, then modify the lcdcmd() function again 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;

        Delay_ms(10);               //add a delay here also
}

 

Make sure that you are using the same kind of lcd module.

All you need is to get rid off that black boxes from lcd.

Still there is black boxes, then there is some mistake in your hardware.

RSS Recent Posts

  • parallel-to-serial problem May 23, 2025
  • STM32 checking self-written delay function May 23, 2025
  • Behringer MX 1602 mixer - reading block diagram May 23, 2025
  • Reclaiming missing motherboard header May 23, 2025
  • 12v battery, 18v magic May 23, 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