ESP32-idf screen oriented ili9341


NiOki_iKoIn

26m

I have read various discussions about it, and I apologize, but I did not understand anything. I use an esp32 with esp-idf. The library works correctly. Now I would need to use the screen oriented 90 ° ie vertically.
I exchanged the definitions:
#define LV_HOR_RES_MAX (240)
#define LV_VER_RES_MAX (320)
driver->rotated = 1;

But nothing happens, continue to write me the text of a label horizontally. I need to hold the display vertically and write the labels in this orientation.
How can I do?
Thank you very much

Note: I removed your other topic since you reposted it here in a more appropriate category. Thanks!

Please note that you’ll need to fill out the template (rather than removing it).

> ## Important: posts that do not use this template will be ignored or closed.
>
> ## Before posting
> - Get familiar with [Markdown](https://forum.lvgl.io/t/get-familiar-with-markdown/403) to format and structure your post
> - Be sure to update [lvgl](https://github.com/littlevgl/lvgl) from the latest version from the `master` branch.
> - Be sure you have checked the relevant part of the [documentation](https://docs.littlevgl.com/en/html/index.html). **We will not respond in detail to posts where you haven't read the relevant documentation.**
> - If applicable use the [Simulator](https://docs.littlevgl.com/en/html/get-started/pc-simulator.html) to eliminate hardware related issues.
> 
>  *Delete this section if you read and applied the mentioned points.*
  
## Description

###  What MCU/Processor/Board and compiler are you using?

###  What do you want to achieve?

### What have you tried so far?

## Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:
```c
/*You code here*/
```

can anyone help me?

It doesn’t look like rotation support is implemented in that driver yet.

You are unlikely to receive further help until you fill out the template. And @jeremyjh is correct, you would have to add rotation support to the driver.