Fix issue with SH1106 OLED Display #1589
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had issue with a screen controlled by SH1106 controller.
It's a common 128*64 OLED display often sold as "SSD1306"; it's mostly compatible but 1106 is more dumb.
The screen is initialized, the charge pump works (there is a visible image on the screen).
There is a small horizontal rectangular window, around 10 pixels high, displaying part of the image. However, the majority of the screen is filled with garbage, mostly white with some black dots on it.
After some fiddling around with U8g2 library, I understood the actual controller name.
As far as I see, those are mostly interchangeable; since FluidNC does not use any advanced features of 1306 (scrolling and offseting), I feel the fix might be useful for some users.