-
Notifications
You must be signed in to change notification settings - Fork 0
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
Display Rotation #12
Comments
@belangerpascal we don't have access to that specific display at the moment. have you tried running the current implementation on your display? if so, does it work on your display other than the resolution and size difference? |
It is working if I specify a width of 240 and a height of 240. If I put the displays 280x240 resolution, it's displays garbage. |
I did try to modify the Adafruit board setup in the config.py by changing the offset and adding rotate=90 but why I execute the code it doesn't seem to pick it up. |
@belangerpascal |
Thanks for that. Yes I did try playing with swapping the width and height and it shows all noise if I go higher then 240. I do not specifically set the widget size or position. |
I see, even if you are not specifying the pos and size, Kivy may set them by itself if the headless widget is not the root widget. I suggest printing those values and check them, you can do it like this: print(widget.pos, widget.size) Another troubleshooting step would be to run your application with HEADLESS_KIVY_PI_DEBUG=True python /path/of/your/app In this mode it will write the raw display data in a file named The output of this snippet would be helpful too: import headless_kivy_pi.config
print headless_kivy_pi.config._config |
Hi, would it be possible to add the capability if rotating the display?
And also setting offsets, I'm using a 1.69 Waveshare display with rounded corners with a resolution of 280x240.
Thanks
The text was updated successfully, but these errors were encountered: