Open th-fischer2020 opened 2 years ago
ILI9xxx displays support rotation, so you may look at the DT part there. Would you mind opening a PR?
I would be very pleased if a PR will come. Thank you
I would be very pleased if a PR will come. Thank you
Can you do it yourself?
Yes, I will do it.
Is your feature request related to a problem? Please describe. I am using a type
st7735r
display in my project and face the need of display-rotation at runtime. The display api provides the function calledst7735r_set_orientation()
which is not implemented/ not supported yet. Per default the Driver is implemented in landscape-mode. So that is okay for me. In addition, i only need the 180°-rotation. Softwarerotation is not an option for me. Currently i have zephyr 2.6.0 in use.Describe the solution you'd like I temporary implemented the solution als follows:
Describe alternatives you've considered I know about the possibility to rotate the screen by DeviceTree, but i neet to rotate at runtime. I thinke the final solution is not as trivial as mentioned above, because the DeviceTree-Settings are defined as
DISPLAY_ORIENTATION_NORMAL
.