You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using 1.3'' OLED screen with sh1106 driver chip. It is 128x64 pixels screen.
When rotating the screen with, rotate = 0, 1, 2 or 3 in the following lines of code: device = sh1106(serial, rotate=1, width=128, height=64) with canvas(device) as draw: draw.rectangle(device.bounding_box, outline=255)
The image at rotate = 1 or 3 gets moved to one corner, not rotating it properly, image below:
The text was updated successfully, but these errors were encountered:
Slaveche90
changed the title
ellipse() doesn't work on sh1106 1.3'' OLED screen
rotating the image doesn't work on sh1106 1.3'' OLED screen
Feb 14, 2020
I'm using 1.3'' OLED screen with sh1106 driver chip. It is 128x64 pixels screen.
When rotating the screen with, rotate = 0, 1, 2 or 3 in the following lines of code:
device = sh1106(serial, rotate=1, width=128, height=64)
with canvas(device) as draw:
draw.rectangle(device.bounding_box, outline=255)
The image at rotate = 1 or 3 gets moved to one corner, not rotating it properly, image below:
The text was updated successfully, but these errors were encountered: