Skip to content
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

1.3" SSH1106 OLED not working in v1.02w (and a weird fix) #54

Open
jokubasver opened this issue Sep 2, 2021 · 0 comments
Open

1.3" SSH1106 OLED not working in v1.02w (and a weird fix) #54

jokubasver opened this issue Sep 2, 2021 · 0 comments

Comments

@jokubasver
Copy link

In v1.02w using #define OLED_SH1106 the OLED does not work.
Using #define OLED_SSD1306 display turns on, but it is very glitchy.

To fix this, I simply moved 0x8D, 0x14, // Set charge pump, internal VCC out of, and above #ifndef OLED_SH1106. This made the display turn on without any glitches.

The display was also shifted by a few pixels to the right, so to fix this I removed:

#ifdef OLED_SH1106
    _oledX += 2; // SH1106 is a 132x64 controller.  Use middle 128 columns.
#endif

73 de LY5NF

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

No branches or pull requests

1 participant