Skip to content
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

rotating the image doesn't work on sh1106 1.3'' OLED screen #275

Open
Slaveche90 opened this issue Feb 13, 2020 · 2 comments
Open

rotating the image doesn't work on sh1106 1.3'' OLED screen #275

Slaveche90 opened this issue Feb 13, 2020 · 2 comments
Labels

Comments

@Slaveche90
Copy link

Slaveche90 commented Feb 13, 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:
2

@Slaveche90 Slaveche90 reopened this Feb 14, 2020
@Slaveche90 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
@thijstriemstra
Copy link
Collaborator

any idea @rm-hull?

@Joshyakadamien
Copy link

Bump? this is still as it is described...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants