For the ESP32 5 and 7 inch Screen in portrait (Rotation)
Dear Elecrow Technical Team,
I am working on a project for 5—and 7-inch LCD screens in portrait position, but I'm having trouble getting it to display properly using the LovyanGFX configuration. Could you please share a demo code with me that I can use to design my project in portrait mode or suggest how I can directly change the LVGL configuration? I have looked through other forums, but I haven't found a solution that works for me.
Remark: If this work well, I would purchase more item to fit my project.
Thank you.
Comments
Hello @Noda ,
![](https://forum.elecrow.com/uploads/editor/jm/ncbvanby5q26.png)
Please refer to lesson6 for design the UI by SLS, then modify the provided lesson code.
Add these 2 sentences to the ino file:
Hi Team,![](https://www.forum.elecrow.com/uploads/editor/on/i1usb9664l06.jpg)
![](https://www.forum.elecrow.com/uploads/editor/i2/ms9xyfb4cjo8.png)
I appreciate your support. Now the screen is working fine. I have another question; since the 7 module has 4Mb for flash memory, is there another config that I can change to save money for a big project with rahter font size? or other?
The flash size of the chip module of the board is fixed. To save flash space, you can try to disable unused fonts, demos, and controls in lv_conf.h during compilation.