How to use edgline exported c and h file with arduino esp32

I have made a screen with edgeline but want to try it on my esp32 and ili9431 screen with arduino IDE. But I don’t know how, So please tell me how to use c and h files and what steps are to be done, Thanks for help.

You can look at my project here:

Into file .zip attached you can also found setup for libraries, but you use another Screen, so take care.
I dont use all files C exported from Edgeline, i just copy object definitions and Variables and i put in setup routine (variables at start).
Also, i dont use Button (that need a label txt) but i use Label directly and i put a handler of em at start of program…and all work fine
Bye

Thanks @gabriele_ponte this solution gives me pretty much idea to work with my screen, but can’t we use the .c site directly in .ino
like import .c and import .h files?

Yes, you can :slightly_smiling_face:

I have this in my .ino file:

#include "Adafruit_ILI9341.h"
#include <XPT2046_Touchscreen.h>
#include "Adafruit_GFX.h"

#include <lvgl.h>
#include "FL_photo_functions.h"

#include "FL_test_ui.h"

and then FL_test_ui.c contain this include:

#include "FL_test_ui.h"

There is also declaration for images:

/* IMAGES */
LV_IMG_DECLARE(img_left_arrow_png);   // assets\left_arrow.png
LV_IMG_DECLARE(img_right_arrow_png);   // assets\right_arrow.png
LV_IMG_DECLARE(img_fl_logo_320x240_png);   // assets\FL_logo_320x240.png

Hope, this will help.

One thing which I did not master yet is switching screens, but I had no time to look at this in past.