Skip to content

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

Open
matm616 wants to merge 1 commit intoiNavFlight:maintenance-9.xfrom
matm616:matm616-oled-dashboard-fix
Open

Increased number of bytes sent to oled display driver chip to flush garbage from ram#10760
matm616 wants to merge 1 commit intoiNavFlight:maintenance-9.xfrom
matm616:matm616-oled-dashboard-fix

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
Member

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

@sensei-hacker
Copy link
Member

sensei-hacker commented May 31, 2025

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 columnsthat are not displayed. It looks like Matm616 is looking at an SSH1106 display.

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

@tonuonu
Copy link

tonuonu commented Jul 19, 2025

AFAIK this is not the reason and PR #10975 fixes root cause.

@sensei-hacker sensei-hacker added this to the 9.1 milestone Feb 8, 2026
@sensei-hacker sensei-hacker changed the base branch from master to maintenance-9.x February 8, 2026 05:26
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

3 participants