esp32-smartdisplay
esp32-smartdisplay copied to clipboard
Missing software rotation - esp32-4848S040CIY1
I have the esp32-4848S040CIY1, and when trying esp32-smartdisplay-demo found that the Rotate button did not work. What I did find was that the Rotate button was kinda working, and the touch interface was rotating, but the display did not. So the buttons stopped working, unless you assumed the display had rotated.
After a bit of looking at the code, and lvgl software rotation, found that it was implemented for lvgl_panel_st7262_par.c but not for lvgl_panel_st7701_par.c. So I did a little bit of copy and paste from lvgl_panel_st7262_par.c to lvgl_panel_st7701_par.c and voila software rotation.