lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
290 stars 309 forks source link

Question about ILI9488 VS ILI9341 Driver #278

Closed TechStranger closed 1 year ago

TechStranger commented 1 year ago

I am working with an ILI9488 display module and want to know if I can use the ILI9341 .c and .h driver for STM32 as a reference or the ILI9488.c/.h for ESP32. Some of the registries are not available on ILI9488 but some ILI9488 drivers offered by other Github contributors still use it(https://github.com/RobertoBenjami/stm32_graphics_display_drivers/blob/master/Drivers/lcd/ili9488/ili9488.c). For example,

  1. define ILI9341_GAMSET 0x26 / Gamma Set /

  2. define ILI9341_RGBSET 0x2D / Color Set (LUT for 16-bit to 18-bit color depth conversion) /

    Regarding the global prototype, do you recommend doing like the ILI9341.c/.h

    • void ili9341_init(void);
    • void ili9341_flush(lv_disp_drv_t drv, const lv_area_t area, lv_color_t * color_p);
    • void ili9341_rotate(int degrees, bool bgr);

or as indicated in the template:

kisvegabor commented 1 year ago

We use GitHub Issues for development-related discussions.

Please ask your question in the Forum to make it visible for a larger community. You can simply log in with your GitHub account.