cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a image data for LCD?

LMI2
Lead
Posted on June 01, 2017 at 02:36

There is an image with some BSP examples. It is stored in code memory in ascii format like this'.

__ALIGN_BEGIN const unsigned char stlogo[9174] __ALIGN_END ={0x42,0x4d,0xd6,0x23,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,' and so on. �?�?�?�?

St uses a file called stlogo.h. It works but I cannot create my own. I use a Image2Lcd program to do this, but I cannot find correct settings. I have studied BSP_LCD_DrawBitmap description and everything should be all right, but all I get is random lines on screen.

I am using 746 discovery board.

0 REPLIES 0