-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong column offset 1.54" SH1106 I2C #376
Comments
No idea but glad you got it working correctly. I haven't seen reports on SH1106 I2C having a wrong offset (lately). |
Is 72440da related to ssd1306 only?
|
My test script:
|
Picked up these two OLED displays for a small rpi4 project (note: they're not SSD1309 displays as advertised, they're CH1116 which is working with driver SH1106).
This fix above was needed to rid these OLEDs of the 2px vertical lines that wouldn't clear on the left-hand side of the display. Thanks for sharing your fix!!! |
Type of Raspberry Pi
CM4 + Original cm4io Board
Linux Kernel version
Linux NasPi 6.1.36-v8+ #1659 SMP PREEMPT Fri Jun 30 13:19:42 BST 2023 aarch64 GNU/Linux
Test:
python3 examples/demo.py -d sh1106 --i2c-port=1 --width=128 --height=64
Used display 4pin I2C white: https://de.aliexpress.com/item/1005002767134354.html
First 2 column where not used:
I had to change
self.command(set_page_address, 0x02, 0x10)
toself.command(set_page_address, 0x00, 0x10)
in class sh1106 / def display.Is this a bug or just depending on used display?
Is this the correct way to fix the issue?
The text was updated successfully, but these errors were encountered: