Skip to content

scrolling text with Winstar_WEH 16x2 OLED #337

Open
@jimToo

Description

@jimToo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions