Displaying text on LCD frm left to right(movement) ?
FanT
Posts: 10
Hi there,
i'm trying to display text on a LCD display.
Mayb a simple word like " how r u "
i wan it to have the moving effect..from left to right...then back to the start.
and from left to right again. Repeatingly displaying the text.
i do not really have an idea how to do that.
can anyone enlighten me plz.
thanks
I am using a 2 rows x 16 characters Backlit LCD (#27977)
Programming on a BS2 chip.
i'm trying to display text on a LCD display.
Mayb a simple word like " how r u "
i wan it to have the moving effect..from left to right...then back to the start.
and from left to right again. Repeatingly displaying the text.
i do not really have an idea how to do that.
can anyone enlighten me plz.
thanks
I am using a 2 rows x 16 characters Backlit LCD (#27977)
Programming on a BS2 chip.
Comments
The StampWorks Manual has examples of this.
www.parallax.com/dl/docs/books/sw/Web-sw-v2.0.pdf
It could be easily done with two FOR...NEXT loops.· In the first one you would draw the text at the home position plus the value of the index in the FOR...NEXT loop.· You would have to erase the previous character too.· Once done you do the reverse, erasing the last character when it's "on-screen".· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Ah, sorry I missed the [noparse][[/noparse]important] point that he was using serial.
In the Stamps in Class Forum, Andy Lindsay has made a sticky-thread with a project list.· One of them is "Getting Started with the Serial LCD" and the 4th activity (5th post) under that link is about scrolling text.·
I hope this is what you are looking for!
-Stephanie Lindsay
·· Yes, Activity #4 is exactly what he needs.· Thanks for the follow up.· I missed that one myself!·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I gratefully appreciate all you kind peoples' effort.
now i can continue with my project
cheers !