lvgl / lvgl_esp32_drivers

Drivers for ESP32 to be used with LVGL
MIT License
330 stars 281 forks source link

Add bgr option for hx8357 #183

Closed liebman closed 1 year ago

liebman commented 2 years ago

I have a Waveshare 2.8inch Resistive Touch LCD, 320×240 that seems to have swapped RED and BLUE. This PR adds a configuration option to set the BGR bit when initializing the display.

The display controller is listed as a hx8347 and seems compatible with the hx8357 driver, including the RGP/BGR bit.