Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
viscomjim Guru Joined: 08/01/2014 Location: United StatesPosts: 925
Posted: 07:14am 25 Jun 2014
Copy link to clipboard
Print this post
Has anyone tried to use the new LCD features and tried to implement scrolling text, either just scrolling on one line or scrolling through more that one line of a multi line lcd display?
Bill.b Senior Member Joined: 25/06/2011 Location: AustraliaPosts: 232
Posted: 01:49pm 25 Jun 2014
Copy link to clipboard
Print this post
I just tried this on a 4 x 20 LCD.
scrolling from right to left and bottom to top.
unfortunately with the 4 line LCD address LCD 3,1 is the same as
LCD 1,21.
scrolling out of the left side may require more work.
[code]
LCD init 2,3,4,5,23,24
for a = 20 to 1 step -1
LCD 1,a,"this is a test"
LCD 1,a+14," "
pause 500
Next a
lcd 1,1," "
for a = 4 to 1 step -1
LCD a,1,"test 2"
pause 500
LCD a,1," "
next a
end
[/code]
BillIn the interests of the environment, this post has been constructed entirely from recycled electrons.
viscomjim Guru Joined: 08/01/2014 Location: United StatesPosts: 925
Posted: 03:13pm 25 Jun 2014
Copy link to clipboard
Print this post
Thanks Bill.b, I will give that a whirl and play around with that concept. That'll keep me busy for a bit.