Hi all,
I recently ported LVGL 8.4.0 to a 800x480 display, using Renesas micro.
Due to the microcontroller’s resource limitations, I use 8-bit colors, RGB332.
Unfortunately I have problems setting the colors of objects (buttons, labels…) because I have color encoding issues.
For example:
lv_obj_set_style_bg_color(ui->screen_btn_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_color_hex(0x2195f6)
the color (once changed to 8bit) is not displayed correctly.
Thanks and who can give me an advice.