Skip to content

Increased number of bytes sent to oled display driver chip to flush garbage from ram #10760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matm616
Copy link

@matm616 matm616 commented Mar 16, 2025

No more weird garbage displayed at the bottom of the display

Should fix #5903 (comment)

…arbage from ram

No more weird garbage displayed at the bottom of the display
@sensei-hacker
Copy link
Collaborator

Does anyone have any idea how this works? Does it corrupt the other displays that currently work?

@sensei-hacker
Copy link
Collaborator

I've learned there are a few different chips used for OLED drivers.

The SSH1106 needs more data sent to it than the SSD1306. The SSD1306 just gets bytes for the pixels. The SSH1106 has memory for four extra lines that are not displayed. It looks like Matm616 is looking at an SSH1106 display.

For the SSH1106, we would send two blank lines, then the data you want displayed, then two more blank lines.
I have samples of each type on order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minor OLED issue
2 participants