Is there any way to scroll text on Parallax's serial LCDs?
Private19872
Posts: 61
I'm working on a project that uses this display (although I'm planning on getting this one) and I didn't like how the cursor wrapped back to the top of the screen when it hit the end of the screen. Is there some mode or something that makes it scroll the text up when a new line is added, or do I have to write the code to get this effect myself. If I have to write it myself, would it efficient to keep an array of all the screen characters, bytemove them and then copy it to the screen whenever a new line is added?
Comments
If you wer using a BasicStamp, you just wouldn't have the RAM to do scrolling.
The Propeller could do it. But how do you know where to start and end. Usually you open a .txt file for such and have a hard disk to read from. Pretty quickly it becomes dependent on more and more resources - software and hardware.
If you have some limited lines of text, a minimal system could be easily worked out. But the LCDs don't save lines displayed in order to scroll. 4 lines will jump back to the top at the end too.
Of course, if the new input is always in 32 character blocks, life is simpler. If you want to just feed one character at a time, you have to count to 32 and make some decisions on where to go from there on the fly.
It sounds like you just want to scroll down as you read longer text, no scroll up. It certainly is feasible. I am just trying to mention some of details that might come up.
At some point you really have to set a limit to how long your text will ever be. If it is not going to be over 64 characters, the 4 line display will make life simpler.
It is 5 am here. I am going to bed.