Closed ivm164 closed 6 years ago
@ivm164
Thank you for reporting the issue. Is your display (visible area) 128 pixels and not 132 as SH1106 controller supports? I integrated fix 1f7123e. Coud you please check it?
Hi Aleksei,
The fix works perfect for me. And you're right that the visible area seems to be 128p. BTW I've used 10 sh1106 lcds from 3 different vendros and all had the same hw config.
WBR
вс, 16 сент. 2018 г. в 15:44, Aleksei notifications@github.com:
@ivm164 https://github.com/ivm164
Thank you for reporting the issue. Is your display (visible area) 128 pixels and not 132 as SH1106 controller supports? I integrated fix 1f7123e https://github.com/lexus2k/ssd1306/commit/1f7123e979aa78c06dfa2a2368487835c6ab66da. Coud you please check it?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lexus2k/ssd1306/issues/49#issuecomment-421759399, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEkQL91750mmgxvbDDbS1HiCjLzLM-7ks5ubkeugaJpZM4WqkG4 .
Thank you very much for cooperation.
Please provide the following information:
library version
1.7.6
LCD display type
SH1106
Steps to reproduce the issue
Just print any text
Expected behavior
Text is fully visible
Actual behavior
First two pixel columns are missing
To fix this you should change the lines number 73 and 74 in oled_sh1106.c file like this: ssd1306_intf.send(((x+2)>>4) | SSD1306_SETHIGHCOLUMN); ssd1306_intf.send(((x+2) & 0x0f) | SSD1306_SETLOWCOLUMN);