20 x 4 display with I2c - text overflow

I have a 20x4 display with serial backpack. I can address the unit okay and print characters to multiple lines.

However when my text overflows the end of one line it continues on line 3.

Is that normal? Using fm's I2c library, do I need to work around this with code (e.g. truncate to 20 characters, print to 0,0, take the next 20 characters, print to 0,1, etc.)?

Mine is the same way, so I believe it's normal. Just limit your lines to 20 characters or less.

@steinie44 Thanks,

I have an audio track title display where length of line could be anything (within reason of course!) so may need to do some funky string manipulation in that case.

Good to know I'm not doing anything silly and that it's not just me! Shame it means I can't use built-in scrolling functionality of the library though...

Cheers

Mat

However when my text overflows the end of one line it continues on line 3.

Is that normal?

Yes it is normal. For a complete description of what is happening follow the LCD Addressing link at http://web.alfredstate.edu/weimandn.

Don