inav icon indicating copy to clipboard operation
inav copied to clipboard

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

Open matm616 opened this issue 9 months ago • 3 comments

No more weird garbage displayed at the bottom of the display

Should fix https://github.com/iNavFlight/inav/issues/5903#issue-649190830

matm616 avatar Mar 16 '25 18:03 matm616

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

sensei-hacker avatar May 26 '25 18:05 sensei-hacker

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.

sensei-hacker avatar May 31 '25 16:05 sensei-hacker

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

tonuonu avatar Jul 19 '25 18:07 tonuonu