luma.oled
luma.oled copied to clipboard
Wrong column offset 1.54" SH1106 I2C
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)
to self.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?