cancel
Showing results for 
Search instead for 
Did you mean: 

How the index are calculated from GUISetColor() for CLUT? Any configurations to be done for CLUT with emwin library

MAnug.1
Associate

Hi,

I'm trying to reduce the frame buffer size for LTDC, Therefore I'm using CLUT

I configured for L8 pixel format and enabled the CLUT with input array of 256 size filled with color values.

When I'm giving GUI_SetColor(Index_No); it is displaying random color from the array

For example: 0xFFFFFF index displays the color from Index 255 of the CLUT table, 0 to 44 index displays the color from Index 0, it is very random.

Please help me out in understanding how this index is calculated in CLUT configuration with the library calls, Is there anything specifics to be done for CLUT integration with Emwin Libraries

How the index are calculated from GUISetColor() for CLUT?

0 REPLIES 0