Need program for 16 character per line LCD display

Status
Not open for further replies.

monterez

Newbie level 5
Joined
Feb 10, 2007
Messages
9
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,340
im going to program a display which is showing this word
" solution architect"

which is running from right to left..
im using 16 charter LCD per lines.

do u have coding of this program in C lang?

Added after 7 minutes:

before this using this
for initialize

code BYTE default_logo[] = { " SOLUTION ARCHITECT " };
void load_comp_logo (void)
{
BYTE i;

for (i=0; i<16; i++)
comp_logo = default_logo;
}


then i just call this function at lcd routine

void display_logo (bit line)
{
BYTE i;

for (i=0; i<16; i++)
buffer = comp_logo;
display_message (buffer, line);
}
 

Re: LCD display

how many lines of LCD display u use is it 16X1 or 16X2
 

LCD display

which uC? which C for that micro?
 

Re: LCD display

im using 16x2 LCD cristal clear

using philips P89c668 and c language for programing

i hv study teh datasheet of LCD but seems no idea or special setting to run wording on the LCD
so im thinking of every second or several second i move the character from right to left...
cos theres intsruction to move cursor/display shift..
it can move the cursor and shifts the display without changing the DDRAM status..

what do ya think guys?

Added after 4 minutes:

i think the setting of the LCD wud be like this
where shud i put this setting coz i only want to display it for some display only
i dont want this setting effect others display...
just for the company logo setting..
i think i shud put this at the initialize of company logo

what say ya ?

RS R/W DB7-DB5 DB4 DB3 DB2 DB1 DB0
0 0 0 1 S/C R/L * *
 

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…