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.

What is the command for the first row of LCD screen to shift one place to the left?

Status
Not open for further replies.

louislu

Member level 1
Joined
Apr 5, 2004
Messages
40
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
426
hi...anyone know what is the command for 1st row lcd's screen to shift one place to left...i know there is such lcd command 18h is used to shift the whole lcd screen one place to left...but i do not want to shift the whole screen...jus wanna move the 1st row...thanks
 

Re: LCD command

Hi,

you can only shift the whole display with an LCD command.

To shift the top line only you must write your own routine ...

best regards
 

Re: LCD command

hi...can tell me how to write my own routine in order to shift only the top line...thanks
 

Re: LCD command

louislu said:
hi...can tell me how to write my own routine in order to shift only the top line...thanks

Which microcontroller and which programming language are you using?

Post your current LCD routine and I will take a look at it ...

best regards
 

LCD command

hi,
i think you're using HD44870 LCD, it dosent supports what u want, try using some other lcd.
 

Re: LCD command

i m using atmel microcontroller...8051...currently wat i done is send a lcd command 18h to lcd for it to shift the screen one place to left...but this will shift the whole lcd screen wic i don want...is there any command for lcd toshift only the top row?
 

Re: LCD command

louislu said:
i m using atmel microcontroller...8051...currently wat i done is send a lcd command 18h to lcd for it to shift the screen one place to left...but this will shift the whole lcd screen wic i don want...is there any command for lcd toshift only the top row?

All you can do is to overwrite the first line in a fixed time interval to simulate a scrolling text.

There is no command for shifting the first line only ...

best regards
 

Re: LCD command

Hello

This is a good solution, but Overwriting will make small PICs suffer, as it can and it takes vary large space of the program memory.

I think if you can creat a string array, and changing the array argument to display different characters would be a nice idea.

Regards
 

Re: LCD command

other choice is to use blank space to shift line but this also take memory a lot
 

Re: LCD command

Provided you have implemented the LCD READ function in hardware, you can read the character from one location and write it to another, one at a time- you don't need to buffer the whole message within the micro.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top