OLED_SSD1322 icon indicating copy to clipboard operation
OLED_SSD1322 copied to clipboard

Wrong column offsets and data

Open gnbl opened this issue 7 years ago • 1 comments

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

gnbl avatar Oct 27 '17 13:10 gnbl

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.

MartyMacGyver avatar Nov 12 '17 01:11 MartyMacGyver