Sign in to follow this  
Followers 0
FantomXR

OLED: Stream longer than pixels on display

5 posts in this topic

Hey people,

I have a question:
I use OLEDs with a resolution of 128 x 64. I use them in a row. I set up a sysex-stream which shows text on the displays. This stream is set to lcd(1:1:1). 

If the text takes more space than 128px, the rest gets printed on the next screen(s). I know that this could be useful. But not in my application. Can I somehow disable that? I took a look into the code but I didn't find it yet. 

Each OLED should get it's own stream. If I do not push the streams in the correct order (f.e. first stream 2 => OLED 2 and then stream 1 => OLED 1) it will overwrite stream 2 of the 2nd OLED.

Thanks,
Chris

Edited by FantomXR

Share this post


Link to post
Share on other sites

Hi Chris,
It's maybe not exactly what you want, but you can try to rearrange the OLED in Column instead of Row, and work with the lines.
By using the help menu in the bootloader.

set lcd_num_x (number of LCDs in X direction)

and

set lcd_num_y (number of LCDs in Y direction)

Not sure this will help you, but it can already force a line return after 128 pixels if you set lcd_num_x to 1.

Best
Bruno

 

 

Share this post


Link to post
Share on other sites

And what happens with the text when it exceeds 128px? Wordwrap? Or discarded? 

Share this post


Link to post
Share on other sites
7 hours ago, Antichambre said:

force a line return after 128 pixels

'Wordwrap' but not between the words ;)

Edited by Antichambre

Share this post


Link to post
Share on other sites

So in case I have another sysex-stream assigned to the 2nd line this would also get overwritten? This is also no solution for me :-(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0