Question
LTDC_PIXEL_FORMAT_RGB888, framebuffer format?
Hello,
I'm using LTDC_Display_1Layer example.
In case I use "LTDC_PIXEL_FORMAT_RGB888" in which format should I store a picture in the framebuffer?
I did following, but the pictures is not displayed correctly. 24bit value of a pixel is stored in one 32bit array position. Is that wrong?
const uint32_t RGB888_1024x600[614400] =
{
0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff,
0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff,
..
0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff, 0x00ffffff
};