-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
I'm using a 128x32 pixel SSD1306 SPI OLED display connected to a Daisy Seed, using daisy::OledDisplay<daisy::SSD130x4WireSpi128x32Driver>. Whenever I display anything, it is offset 32 pixels in the X direction. For example, this code:
display.Fill(false);
display.SetCursor(0,0);
display.WriteString("abcdefghijklmnop", true);
display.Update();
The letter "a" should appear at (0,0) but it shows up near the middle of the alphabet.
I tracked the problem to this line of code in libDaisy:
libDaisy/src/dev/oled_ssd130x.h
Line 379 in f7727ed
| case 32: high_column_addr = 0x12; break; |
If I delete that line, the display works fine:

But it looks like that line of code was specifically added for 32-pixel-high displays, so I suspect that simply deleting it isn't the correct solution. Maybe different SSD1306 modules aren't perfectly compatible?
Metadata
Metadata
Assignees
Labels
No labels
