Any limitations on how many characters can flow on a SERIAL OLED SCREEN,0.96?

Is there any limitations on how many characters I can run on the SERIAL OLED SCREEN,0.96 ?

I tried to run “1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2” with display.setTextSize(2) and it cannot run more than that. Even if I put 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 it will stop at 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 and will loop that again and again.

When I increase the textSize and make it to display.setTextSize(5) it can only run 1 2 3 4 5 6 7 8 9 101 which is basically 21 characters.

I just want to make sure it is not my code which is doing that.

I guess the screen is full after so many characters. If you want scrolling text you need to program that yourself.
This is only a display not a window with inbuilt buffer for off-screen contents.

1 Like

Did you use serial.println()’ to drop down a line?

There should be code available that will allow for scrolling text for longer test lines. That can usually be found along with the setup code for the screen offered by the reseller of the screen. Adafruit often offers this with all their screens.