Rotate from portrait to landscape orientation on a ESP32-S3-AMOLED-1.64 from Waveshare
What have you tried so far?
According to Waveshare’s supplied wiki page on the product, hardware rotation isn’t an option, software rotation is supplied in the LVGL example code they provide. However when used, the display acts up and shows a partially shifted image.
The display rotation does work correctly when altering flush_cb, but i am unable to make the touch driver work that way (whatever I try it doesn’t rotate properly, the 280x456px area becomes 280x280px after “rotating”). When using the “example” software rotation method, the touch screen is fine but the display it self is not ( as shown below).
(just a quick lvgl design with a slider to test the full touch area)
Any help/suggestions to get me along the way would be greatly appreciated.
Thank you.
In all honesty, found this elsewhere suggested online and managed to get it “working” by changing the variable names to the ones in the Waveshare’s provided code.
So no clue really how well this function is constructed.