
Originally Posted by
tvnaidu
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
Bookmarks