Important: unclear posts may not receive useful answers.
- Get familiar with Markdown to format and structure your post
- Be sure to update lvgl from the latest version from the
- Read the
Delete this section if you read and applied the mentioned points.
My display controller accepts 8bits each of R, G and B… but the LVGL image converter has only one entry for RGB888 with a 4th byte 0f 0xFF (#if LV_COLOR_DEPTH == 32
/*Pixel format: Blue: 8 bit, Green: 8 bit, Red: 8 bit, Fix 0xFF: 8 bit, */)… Unfortunately my display controller doesn’t deal with this very well and obviously renders some messy stuff…
- I am noob and hence might be a stupid question is LV_COLOR_DEPTH of 24 possible at all ? I know it’s not defined anywhere(I only see 1, 8,16 and 32 defined though I noticed lvgl_flush_cb_24bit function).
- Is there a way to create an array with just a simple 3 byte RGB instead of 4 bytes ? Or should I write a script to do that ? is there a reason why you only have 32 bit color depth for RGB888 ?
Nrf5340 MCU, Custom board, RM69090 Display controller (QSPI), 320%360 AMOLED display. Zephyr RTOS with Nordic NCS (SDK) with built-in gcc tools)
NCS version: 1.5.1
LVGL version: ## v7.6.1 (06.10.2020)
Zephyr RTOS version: 2.4.99
display a image on my display screen
displayed button and text… so i know basic stuff is up and running
Add the relevant code snippets here.
The code block(s) should be between
/*You code here*/
If possible, add screenshots and/or videos about the current state.