Do
SerOut LCD, N2400, (254,$80)
For b1 = 0 To 15
b2 = b0 + b1 // 22 ; 22 is the length of message below
; 123456789-123456789-12
LookUp b2, ("This is a long line - "),b3
SerOut LCD, N2400, (b3)
Next
Pause 500
b0 = b0 + 1
Loop
Thanks for your replyWelcome to the PICAXE Forum.
The easiest way to scroll a message is to simply rewrite it on screen starting one character further on each time. One example -
Code:Do SerOut LCD, N2400, (254,$80) For b1 = 0 To 15 b2 = b0 + b1 // 22 ; 22 is the length of message below ; 123456789-123456789-12 LookUp b2, ("This is a long line - "),b3 SerOut LCD, N2400, (b3) Next Pause 500 b0 = b0 + 1 Loop
Symbol LCD = B.7
Symbol LCD = B.7
Pause 2000
Do
SerOut LCD, N2400, (254,$80)
For b1 = 0 To 15
b2 = b0 + b1 // 22 ; 22 is the length of message below
; 123456789-123456789-12
LookUp b2, ("This is a long line - "),b3
SerOut LCD, N2400, (b3)
Next
Pause 500
b0 = b0 + 1
Loop