Assistance greatly needed to do LCD Display

This is a discussion on Assistance greatly needed to do LCD Display within the C Programming forums, part of the General Programming Boards category; Hi! I am working on my senior design project and nothing is being displayed on my LCD screen. I decided ...

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Assistance greatly needed to do LCD Display

    Hi!

    I am working on my senior design project and nothing is being displayed on my LCD screen. I decided to just use the same LCD Demo that I based my program off of to see if that program was the actual issue. I have been using MPLAB IDE2 to program my PIC16F874. The LCD Demo doesn't work either!! The code is attached and I hope someone can help me to figure out what is wrong!


    THANK YOU!!!!!
    Attached Files Attached Files
    • File Type: c lcd.c (2.2 KB, 133 views)
    • File Type: c main.c (216 Bytes, 105 views)
    • File Type: c delay.c (393 Bytes, 72 views)
    • File Type: h lcd.h (595 Bytes, 91 views)

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    Also, if anyone has any working LCD display code that I could replace this code with please let me know. My project deadline is in 3 weeks and I need the code down within the week.

    Thank you for all your assistance!!

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    I would quickly post on PIC or micro-controllers forums, for more specialized help. Here's one on Yahoo that mentions your PIC model:

    Yahoo! Groups

    Right away, I'd want something that proved your LCD and kit, are still in good working order. You could waste a lot of time & effort trying to program a kit that has gone South. Then, you'd also have a known good program to use as a "backbone" for your own program to be molded after.

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    I just tried an old program I used before that worked and it displayed the characters just fine on the lcd screen. Therefore, it is something with this particular code. Any suggestions?

  5. #5
    Registered User
    Join Date
    Jan 2009
    Posts
    103
    1. Have you soldered properly.

    2. Is the device responding.

    3. What compiler/IDE are you using?

  6. #6
    Registered User
    Join Date
    Mar 2009
    Posts
    4
    1.) Yes, everything is soldered properly and everything is receiving the correct voltage, etc.

    2.) The device is responding to other programs, just not the DEMO program so the entire setup is all set.

    3.) I am using MPLAB IDE v. 8.10 to compile my program.

  7. #7
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Do you have the old program's code, so you can see what *does* work?

    I'd start with that, and then add one function at a time from your code, and see what works.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help needed Please
    By jereland in forum C Programming
    Replies: 9
    Last Post: 03-18-2004, 04:30 AM
  2. Assistance needed --Plz
    By Newbie96 in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2003, 06:44 PM
  3. stack implementation problem-help needed
    By sanju in forum C Programming
    Replies: 1
    Last Post: 12-10-2002, 06:29 AM
  4. Display Help Needed
    By niroopan in forum C++ Programming
    Replies: 1
    Last Post: 10-23-2002, 11:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21