Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top