SSD1306Ascii icon indicating copy to clipboard operation
SSD1306Ascii copied to clipboard

Characters are displayed 1 pixel off screen to the left

Open HuubBuis opened this issue 6 years ago • 7 comments

This is the first library that looks promising. But on the left, 2 columns of pixels are missing and on the right of the display there is a 2 pixel white column.

Sketch: WireI2c128x64 Oled: i2C 128 x 64 white from eBay

HuubBuis avatar Jun 20 '18 17:06 HuubBuis

Most likely it is not a SSD1306 controller. It might be a SH1106 controller.

Try replacing &Adafruit128x64 by &SH1106_128x64 in the begin() call like this.

#if RST_PIN >= 0
  oled.begin(&SH1106_128x64, I2C_ADDRESS, RST_PIN);
#else // RST_PIN >= 0
  oled.begin(&SH1106_128x64, I2C_ADDRESS);
#endif // RST_PIN >= 0

greiman avatar Jun 20 '18 18:06 greiman

Wow, That did it, Thanks for the support

Best regards, Huub Buis


Van: Bill Greiman [mailto:[email protected]] Verzonden: woensdag 20 juni 2018 20:04 Aan: greiman/SSD1306Ascii CC: Huub Buis; Author Onderwerp: Re: [greiman/SSD1306Ascii] Characters are displayed 1 pixel off screen to the left (#44)

Most likely it is not a SSD1306 controller. It might be a SH1106 controller.

Try replacing &Adafruit128x64 by &SH1106_128x64 in the begin() call like this.

#if RST_PIN >= 0 oled.begin(&SH1106_128x64, I2C_ADDRESS, RST_PIN); #else // RST_PIN >= 0 oled.begin(&SH1106_128x64, I2C_ADDRESS); #endif // RST_PIN >= 0

You are receiving this because you authored the thread. Reply to this email directly, view https://github.com/greiman/SSD1306Ascii/issues/44#issuecomment-398843239 it on GitHub, or mute <https://github.com/notifications/unsubscribe-auth/AV4i2Lmjve3hFqdwhQaguUi6R ZoU6aI3ks5t-o6SgaJpZM4Uvt3e> the thread. <https://github.com/notifications/beacon/AV4i2Hcp1Gj0tE_VFH3ZVyUIh6a8lvyMks5 t-o6SgaJpZM4Uvt3e.gif>

HuubBuis avatar Jun 20 '18 20:06 HuubBuis

Thank you! Solved my problem as well. Agreed, this is the most promising library for use with OLEDs from eBay. What attracts me most are fonts and simple API. Thanks!

asokolsky avatar Jun 26 '18 23:06 asokolsky

Thank you! .......... and solved my problem too.

classic-audio avatar Aug 06 '18 06:08 classic-audio

You really need to write a Wiki for your excellent library. I didn't realise your library was compatible with the SH1106 displays until I looked deeply into it. I was using U8x8lib before but yours is infinitely better!. If only you took some time to fully document it... :-)

John-Lluch avatar Dec 24 '18 09:12 John-Lluch

Thank you Bill Greiman. This solved it for me !

Flipperkastje avatar Oct 18 '20 08:10 Flipperkastje

Thanks Bill Greiman. This worked and solved the problem. ;-))

IvyBridge1 avatar Feb 22 '22 16:02 IvyBridge1