lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library

Home Page:https://lvgl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAX resolution display on 9486

pawelmielnik opened this issue · comments

Hi,
I just started to use LVGL. The first program I run on 9341, TFT and Touchscreen works ok. The resulution of tft and touch is 320x240.
I tried to run a program on 9486 which is 480x320. I connected 9486 : touch recognise full 480x320 matrix, unfortunately screen works in 320x240 mode. Of coures I changed in menu config/component/lvgl configutation resulution to 480x320 but no result.
Kconfig keeps 480x 320 resolution. Is there any other place I have to enter the resolution?

Hi,
What I also noticed, when I call again lv_demo_widgets() instead of my short program, 9486 runs in 480x320 what is good. So
where is a issue?

Are you using the lv_port_esp32 repository?

Yes, I'm using lv_port_esp32. I'm not experienced in this whole solution, in the main i swaped lv_demo_widgets with my program.
Maybe this is not the right approach and gettig rid of lv_demo_widgets destroyed also some dependencies elsewhere?

Gabor, I have found soimething. In file lv_example\src\lv_demo_widgets.py i have found lot of references to resolution. Is it the file i missed? If I'm correct , how can I develope similar file to my project?

Maybe you have also update your lv_conf.h file:
/* Maximal horizontal and vertical resolution to support by the library.*/
#define LV_HOR_RES_MAX (480)
#define LV_VER_RES_MAX (320)

#define LV_HOR_RES LV_HOR_RES_MAX
#define LV_VER_RES LV_VER_RES_MAX

Hi, Thanks for help. I started the new project from beginnig , I have no idea what I had done previously wrong, but now application recognise 480x320.

Resolved