Spill over to second line for text over 16 chars | 16x2 LCD Screen

Hey there,

Is there an easy way to make text spill over to the second line of an LCD screen easily? Say if it takes input from the serial port and the text is too long for the first line. The only way I could think of it would be to split the serial input into an array and then at the 15th letter just setCursor to the second line but that seems a bit convoluted

Any help is appreciated

Say if it takes input from the serial port

Which it gets one character at a time. Counting them as you write them to the LCD doesn't seem like rocket science.

What happens now when the first line fills up?

Related post HERE