usdx
usdx copied to clipboard
1.3" SSH1106 OLED not working in v1.02w (and a weird fix)
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