SSD1306Ascii
SSD1306Ascii copied to clipboard
Characters are displayed 1 pixel off screen to the left
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
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
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>
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!
Thank you! .......... and solved my problem too.
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... :-)
Thank you Bill Greiman. This solved it for me !
Thanks Bill Greiman. This worked and solved the problem. ;-))