PIC Microcontroller LCD Programming Problem – CCS C

Home Forums Microcontrollers PIC Microcontroller PIC Microcontroller LCD Programming Problem – CCS C

Tagged: , , , , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13343
    Javitha
    Participant

    Hello sir,

    I have used the LCD code for 16f877A. The HEX file in your example when loaded to the PIC works fine. But when I create a new project in CCS and compile the same program as yours, the hex file generaed  is of 3KB (your HEX file is of 5KB) and when it is loaded, the LCD just turns on and nothing is displayed.

    How come the same code when I compile gives no output. The LED program you provided works fine for me but why not LCD? Is there any  special settings to be done in CCS for LCD

    #13345
    Ligo George
    Keymaster

    Are you sure that you used the same program and project settings ? Check your project settings.

    #13378
    Javitha
    Participant

    yes,I do used the same settings sir,But Is there any special setting for LCD program?

     

    #13380
    Ligo George
    Keymaster

    Please upload your project files such that we can check it.

    #13382
    Javitha
    Participant

    I am uploading it sir,,Its the same program as yours,the problem is with my hex file

    #13384
    Ligo George
    Keymaster

    Yes, it seems like there is some problem with your hex file. And I also found that in proteus, GND is not properly connected to the LCD, just rewire it.

    Try creating a new project, read the following tutorial also.

    Getting Started with PIC Microcontroller – CCS C

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
>