Colour conversion issue STM32f429 L8 8BPP Mode
Hello all,
I'm using the STM32F429 Discovery Kit and running the LTDC in 8 BPP (L8) mode. I have STemWin and am displaying their colour bar sample. I have a problem with colour conversion where the colour bars appear correct in the WIn32 simulator but are incorrect on the discovery kit.
For the simulator I have in LCDConf.c:
&sharpdefine COLOR_CONVERSION GUICC_888
&sharpdefine DISPLAY_DRIVER GUIDRV_WIN32
On the discovery I have:
&sharpdefine COLOR_CONVERSION_0 GUICC_323
&sharpdefine DISPLAY_DRIVER_0 GUIDRV_LIN_8In both cases I am using the default palette.
Can anyone advise me which of the other many colour conversions would be the correct one to use on the discovery so that the colours match the simulator?
Thank you,
Regards,
Andrew.
#stm32cubef4-ltdc #lcd #stm32f429-discovery #color #stemwin