2015-03-21 06:49 PM
Hi,
Using the STM32429I DISCO demo board which has a 320x240 TFT LCD.Running one of the demos in the STM32CubeF4, that uses the ''STemWin'' library to write a ''Hello World!'' message on the LCD.By default the demo uses the SRAM and it has a bit depth of 32bpp (bits per pixel).Is it possible to change the code to only use 8bpp?If I change the driver from:#define DISPLAY_DRIVER_0 GUIDRV_LIN_32to:#define DISPLAY_DRIVER_0 GUIDRV_LIN_8the project compiles, but the screen looks weird, and I can't see Hello World anymore. If I set it to:#define DISPLAY_DRIVER_0 GUIDRV_LIN_16I can kind see hello world 2 twice on the screen so there is some sort of width / height calculation issue, and not sure how to resolve it. Also I don't know if this is just a software thing, or if it would require a hardware change, like changing the lines going to the LCD?I am new to development with an LCD so I am a bit lost. Any help appreciated.