Open
Description
Hey!
I'm currently trying to scroll text an a 16x2 Char-OLED display.
I just finished to display song and artist of my mpd-server on the display.
The Luma-drivers are working pretty nice!
How can I scroll the text on first and second line?
As far as I understood, the second line of the display is only available by the "next line"-shortcut "\n".
I think I can do this by creating arrays and put "\n" between it:
'veeeery long art' + '\n' + 'veeeeery long so'
'eeeery long arti' + '\n' + 'eeeeery long son'
'eeery long artis' + '\n' + 'eeeery long song'
But is there an easier way?
Thanks you a lot for any advice, tip, link