How to convert BMP image to c array for ST7735 and store it in STM32L4 mcu for display?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-30 4:13 AM
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?
i 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
Labels:
- Labels:
-
LCD-LTDC
-
STM32L4 Series
0 REPLIES 0
