lcd shift

hey,

I have a 16 LCD and i want to scroll a random message, but i need it to be always scrooling, a message thas has over 16 chars, like “this is just a simple test” and i wondering if it’s possible to do it (using the 4bit lib)… thanks in advance

(;

thats possible, but i don’t think you can use the built in scroll function for that.

So you would have to implement your own, But that shouldn’t be too difficult.

If you can imagine you have a “sliding window” of 16 chars that move over the text you want to display, then you just select 16 chars at a time, constantly increasing the starting point by one. When you have less than 16 chars left of your message you can either start over with the first cahars or padd with spaces.