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
Skewed text with 128x32 OLED #23
Comments
It is possible - maybe quite likely. I have only ever used it on a 128x64 display against the SSD1306 IC, whereupon I got remote help from @xes to get it working on the SH1106 device (see #1). Is the device you have definitely an SSD1306 ... can you try the SH1106 driver instead (it is in the same module). Uploaded photo's would help diagnose the problem further. |
It looks as though it is showing every other line of pixels, as if the memory mapping is interleaved. As an experiment, can you try setting the height to |
@rm-hull I can sponsor and send you one from ebay, if you can email a shipping address to my committers email address.. 👍 (update: on it's way) |
It looks as though the multiplex settings need to be dependent on the height when the class is initialising. See conversation here: http://forum.espruino.com/conversations/269330/ |
Related issue: #6 |
Note: the SSD1306 chipset is only supported presently - should there be a need for SH1106 support, that will be addressed later.
Note: the SSD1306 chipset is only supported presently - should there be a need for SH1106 support, that will be addressed later.
Have a branch feature/init_sequence which might provide the correct initialization sequence for 128x32 and 96x16 sized OLED screens. @thijstriemstra @eudoxos - could you checkout that branch and run:
Let me know if that works. Note that some of the other demos will probably assume height=64 - will aim to fix these up as part of the push into master. |
Will do. I would recommend |
@rm-hull it seems everything is still squashed but only the bottom 50% is visible. Master does the exact opposite, only shows top 50%. |
Pic? |
Or it didn't happen..? ;) Let me connect pi camera. |
Actually .... just pushed another commit, if you could pull, install, try again pls? |
👍 will fix up the sizes for the other demos in the next day or so & push it into master. |
The bounce demo goes nuts, not enough space for these balls.. And first traceback for invaders demo @rm-hull:
And great nrs for perfloop: 102.77 FPS |
Note: the SSD1306 chipset is only supported presently - should there be a need for SH1106 support, that will be addressed later.
I tried the init_sequence branch now and I still see random pixels, though with a different pattern. The previous screen (see #70) was and still is with the master branch like this: Now with init_sequence, it looks like this: Sorry for bad news. Any further diagnostics I can try? |
@eudoxos Ok, thanks for the update: lets re-open your original issue, and move the discussion to there instead |
Add support for different screen sizes (SSD1306 only) - fixes #23
Arrived today, and works great ... thankyou [now I should go back and make sure all the demos work on that screen size] |
Nice! |
I'm testing with a 128x32 OLED and when running the sys_info demo for example, the text is unreadable. The logo example shows a stretched logo. Is there possibly an error in the width/height calculation of the ssd1306 device?
The text was updated successfully, but these errors were encountered: