Oled Display Removing erroneous lines

Hello
I bought a cheap display from ebay, 4PIN 1.3" OLED module with drive chip: SH1106

Im running with the U8g2lib library, and I get the text and everything I want.

I also get a thick vertical line at the right side of the display, see picture, that is not supposed to be there.

Is there any settings that anyone know of that can remove this?

thank you in advance!

Have you used the correct constructor?

It takes 30 sec to paste the statement to your message.

David.

U8G2_SSD1306_128X64_NONAME_2_SW_I2C oled(U8G2_R0, /* clock=*/ oledSCL, /* data=*/ oledSDA, /* reset=*/ U8X8_PIN_NONE);

I do not know if its the right constructor, I chose the one that suited my needs (i2c, small size etc)

I found the right constructor
Thank you!

it was:

U8G2_SH1106_128X64_NONAME_2_HW_I2C oled(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);

There is a bewildering range of constructors.

The Wiki explains.

Likewise, there is an enormous range of Fonts.

U8g2lib is an impressive library.

David.