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 / I am not able to get the output of the program.

I am not able to get the output of the program.

|

Microcontroller › 8051 › I am not able to get the output of the program.

  • This topic has 2 replies, 3 voices, and was last updated 10 years, 3 months ago by Anonymous.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 16, 2016 at 4:44 pm #4418
    Anoop
    Participant

    Hi i am new to 8051 microcontroller and i am trying one of the project uploaded in this website. It is a simple progam to display a single character as A on the LCD screen.  I have compilled the code with the Keil uVisionr5 software and generated the .hex file. I am using the willar software to dump the program with the help of a programmer board which i purchased locally. The following is the link of the project. http://www.engineersgarage.com/microcontroller/8051projects/interface-lcd-at89c51-circuit. Please help me how to resolve this issue. Can anyone tel me how to get it working.

    April 28, 2016 at 6:31 pm #13904
    Ashutosh Bhatt
    Participant

    what is the problem?

    May 20, 2016 at 10:32 am #13929
    Anonymous
    Guest

    hi anoop, 

              u didnt declare the sub-routines in the begining of the prgm. you should declare the sub-routine header following with semi colon.

     

    ERROR:


    void delay(unsigned int msec)
    void lcdcmd(unsigned char item)
    void lcddata(unsigned char item)

    CORRECT:


    void delay(unsigned int msec);
    void lcdcmd(unsigned char item);
    void lcddata(unsigned char item);

    Note: declare every sub-routine like this in the beginning of prgm after the port pins are defined.

     

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

RSS feed: Recent Posts Recent Posts

  • Advice for an ESP32 Soil Tensiometer project with 5V sensors September 4, 2026
  • Control diesel fuel injector September 3, 2026
  • Smoothing out Resistive Power Draw with PWM September 3, 2026
  • Deacy Amp circuit diagram? September 2, 2026
  • Need to control diesel fuel injector using microcontroller September 1, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly 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 Arrowfly
Privacy Policy | Advertising

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