I have a new color SSD1351 OLED display from Buy-Display working with the Adafruit library that works fine except for a strange background white color thats visible whenever something is on the screen. It can be text or graphics but its only there in back of an object. Oled displays have no backlight so the whole thing should be black except for the text or graphics. In the picture the area above and below the circle is back. If I drew a really tiny circle then the band of background color would be thinner. When I draw nothing then the whole thing is dead back.
I'm not sure what to do? Has anyone ever seen something like this?

Like most other displays, your OLED module has two different parts:
- The OLED display areay
- The controller (SSD1351)
Not all OLEDs are identical. They differ in brightness, speed, capacitance, etc.
The controller is able to support all of them, but the correct setup for the specific display needs to transfered from the uC to the SSD1351. Obviously the adafruit lib sends the correct setup sequence for their own OLED, but of course it might not fit for other OLEDs. So you need to modify the setup sequence for your display.
Good candidates for modifing are these lines from the Adafruit Lib:
writeCommand(SSD1351_CMD_PRECHARGE); // 0xB1
writeCommand(0x32);
writeCommand(SSD1351_CMD_VCOMH); // 0xBE
writeCommand(0x05);
writeCommand(SSD1351_CMD_CONTRASTABC);
writeData(0xC8);
writeData(0x80);
writeData(0xC8);
writeCommand(SSD1351_CMD_CONTRASTMASTER);
writeData(0x0F);
writeCommand(SSD1351_CMD_SETVSL );
writeData(0xA0);
writeData(0xB5);
writeData(0x55);
writeCommand(SSD1351_CMD_PRECHARGE2);
writeData(0x01);
I suggest to also read section 8.7 of the SSD1351 datasheet.
Oliver
Excellent. That's exactly what I needed to know.
Thanks,
Mike