2*16 LCD programing.....

Status
Not open for further replies.

mannoooj

Newbie level 5
Joined
Feb 20, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,344
Hello .....

I need help in 2*16 LCD programing.....
I want to display some text on 1st line continuously and want to vary text on 2nd line as per requirement.


Thank you
 

you write a function which will display text on a specified line, e.g.
Code:
// write string on line (1 or 2) 
void lcdString(unsigned char line, unsigned char *string);
then call it with the line 1 or 2 as required
 
Your LCD library probably has a "gotoXY" function (check your library) ,
you can use it to go to a specific line/char position and then use the "lcd_putchar" function (again check your library for the correct name) to write what you want.

Alex
 
check this tutorial might help: **broken link removed**
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…