cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert BMP image to c array for ST7735 and store it in STM32L4 mcu for display?

Jagath
Associate II

Hello

I am using ST7735 TFT display with STM32l4.

All the spi configuration is correct. I am able to get all fonts, shapes.

But failed to display BMP image.

I used BIN2c.exe to convert stlogo.bmp to convert into C array, but image color is correpted.

How to generate C array from BMP file properly. Which format should I use?

0693W000006HBJqQAO.jpgi used this function to display BSP_LCD_DrawBitmap(). In this, I need to pass BMP raw value as an uint8[] array. How to properly generate this array. Which BMP format I should use?

Thank you

Jagath

0 REPLIES 0