View previous topic :: View next topic |
Author |
Message |
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
|
LCD Scrolling (Can't use controller shift left/right) |
Posted: Mon Oct 20, 2008 4:11 pm |
|
|
Hello All,
Using a 20x4 LCD and the shift left/right functions wrap to other lines. That led me to writing my own scrolling code. The problem I'm having is readability of the text as it scrolls. I tried turning off the display as it writes the text to memory, but that doesn't help.
Can anyone provide any insight into my problem?
Thanks,
John |
|
![](templates/subSilver/images/spacer.gif) |
future
Joined: 14 May 2004 Posts: 330
|
|
Posted: Tue Oct 21, 2008 8:55 am |
|
|
Don't use the Clear screen command, write over the old data.
Choose a scrolling rate that is not too fast. |
|
![](templates/subSilver/images/spacer.gif) |
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
|
|
Posted: Tue Oct 21, 2008 8:24 pm |
|
|
I think it's just a factor of the LCD's ability to clear and display a new character. It isn't capable of scrolling quickly and being readable like an LED. I tried the:
Code: | lcd_send_byte(0, 0b00011000); //shift left |
and the readability wasn't any better.
I think it will work better to break long messages into 20 character chunks and display them in pieces, as opposed to scrolling. Or maybe parsing to allow scrolling by words instead of characters.
Thanks,
John |
|
![](templates/subSilver/images/spacer.gif) |
|