luma.oled icon indicating copy to clipboard operation
luma.oled copied to clipboard

Wrong column offset 1.54" SH1106 I2C

Open blenherr opened this issue 11 months ago • 5 comments

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: K640_20230724_175757

I had to change self.command(set_page_address, 0x02, 0x10) to self.command(set_page_address, 0x00, 0x10) in class sh1106 / def display. K640_20230724_175818

Is this a bug or just depending on used display? Is this the correct way to fix the issue?

blenherr avatar Jul 24 '23 16:07 blenherr