LCD back-light on with command, but no text display on LCD


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Posts
    2

    Default LCD back-light on with command, but no text display on LCD

    I have UART1 XD connected to EDE702, then EDE702 connected to LCD.
    I am able to turn on back-light with below fisrt two lines, next few lines to display text, but text not displaying on LCD, can I get some sample code or how can I debug this?. thanks for help.


    //turn on backlight
    uart_putc(1, 254);
    uart_putc(1, 253);


    //display text
    uart_putc(1, 254);
    uart_putc(1, 1);
    uart_puts(1, "HELLO WORLD");


    //2nd line on LCD
    uart_putc(1, 0xFE);
    uart_putc(1, 0xC0));
    uart_puts(1, "2ND LINE DISPLAY");

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530

    Default

    Quote Originally Posted by tvnaidu View Post
    I have UART1 XD connected to EDE702, then EDE702 connected to LCD.
    I am able to turn on back-light with below fisrt two lines, next few lines to display text, but text not displaying on LCD, can I get some sample code or how can I debug this?. thanks for help.


    //turn on backlight
    uart_putc(1, 254);
    uart_putc(1, 253);


    //display text
    uart_putc(1, 254);
    uart_putc(1, 1);
    uart_puts(1, "HELLO WORLD");


    //2nd line on LCD
    uart_putc(1, 0xFE);
    uart_putc(1, 0xC0));
    uart_puts(1, "2ND LINE DISPLAY");
    You might try giving the lcd an initial delay from 1/20 to 1/4 a second to turn on before you write to it.

    Looks like you are using the wrong language for this forum. We use Michrochip PIC's here, and a language called PicBasic. Hence the name PicBasic Forum.

    There are some examples here for a few different languages:
    http://www.componentkits.com/dslibrary/EDE702.pdf
    http://www.scalerobotics.com

  3. #3
    Join Date
    Nov 2009
    Posts
    2

    Default no LCD display

    I have given initial delay for LCD to comeup. Then I issued commands like above, first Two lines to turn back-light on, then next command to set cursor, then to display text on LCD, next Three lines for second line to display.

    whatever the language is, I think this isto turn LCD on I believe.

Similar Threads

  1. LCD Display
    By lambert in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th January 2010, 22:18
  2. assembly in Pic
    By lerameur in forum Off Topic
    Replies: 11
    Last Post: - 1st May 2008, 20:06
  3. Replies: 14
    Last Post: - 26th September 2007, 05:41
  4. LCD Display not working - PIC heating...
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 24th September 2006, 07:35
  5. A/D display result on LCD
    By winsthon in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th January 2004, 10:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts