OLED_SSD1322
OLED_SSD1322 copied to clipboard
Wrong column offsets and data
Thanks for sharing, but while the code (Arduino example) displays something (on a 256x64), it's not working properly. The Column offset should be 28 (see 0x1C in Newhaven's example code), and a screen fill takes 256x64/2=8192 bytes while the code sends 64x240x2=30720 bytes. So, most of the data is written off-screen.
Hardware:
-
not a Newhaven display, but one bought via Aliexpress, seemingly identical to EastRising ER-OLEDM032-1B http://www.buydisplay.com/default/oled-3-2-inch-displays-module-companies-with-driver-circuit-blue-on-black
-
Stm32Duino / Blue Pill / STM32F103 generic
Not sure why this doesn't work but it's not the display I have so it's not something I can debug.
I'm looking at updating this to be a little more generic (without the Arduino-specific tweaks) - I just tried it on an ESP32 and it worked fine without them. I can't say that'll improve what you're seeing but it might.