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.

[SOLVED] scrolling text on LCD

Status
Not open for further replies.

Qbik

Newbie level 3
Joined
Aug 25, 2010
Messages
3
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Somewhere
Activity points
1,299
Hello,

I trying to write code to scroll text across my LCD display (HD44780). I tried to find any solution of my problem but I didn't find.

Could you tell me the algorithm how to do it? Or source code?

I want to scroll the first line while the second will be fixed. I tried to do it without build in command 0x18 (scroll left) and 0x1e (scroll right). Is it possible? O

I'm using:
+Microcontroller: PIC18F550
+MPLAB, Hi Tech compiler

Thank you a lot for advice.
 

this is example may help you but with 8051

**broken link removed**
 

I regret to say that I know this example and author used here build in routine (code). 0x1C means that LCD will be shift to right. As I wrote I'd like to avoid it (if it is possible). Below is fragment of this code:


Code C - [expand]
1
2
3
4
5
while(1)
{
  lcdcmd(0x1C);  //Shift the entire display to right
  delay(75);
}

 

Hi,

For a single character scrolling to the right, the algorithm is :

- write a character (row,col)
- delay 100 (ms) //scrolling speed
- delete it
- write it again (row,col+1)
- delay 100 (ms) //scrolling speed
- delete it
... etc
 
Last edited:
  • Like
Reactions: Qbik

    Qbik

    Points: 2
    Helpful Answer Positive Rating
Thank you for your replies. The problem is solved.
 
  • Like
Reactions: vet

    vet

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top