cancel
Showing results for 
Search instead for 
Did you mean: 

STM3210E-EVAL Demostration Icon change method

chjchoi
Associate II
Posted on October 16, 2008 at 11:18

STM3210E-EVAL Demostration Icon change method

4 REPLIES 4
chjchoi
Associate II
Posted on May 17, 2011 at 12:48

STM3210E-EVAL Demo board has good user interface.

there are good icons but If I Should change the icon designs

How can I change the icon?

With my bmp file for icon image, How can I change the icon?

zoro7117
Associate II
Posted on October 13, 2011 at 03:03

hey mate, i am starting to look into the STM3210E-Eval kit, and wanting to change the icon as well on the kit, were you able to upload new icons to the kit? can you please share how you did it? thanks.

rosarium
Associate II
Posted on October 13, 2011 at 13:44

To change the on TFT icon, first of all you have to allocate the BMP(RGB) data in the flash.

Now you have to dump that into teh LCD RAM by using LCD_WriteRam function using the proper co-ordinates.

while dumping the BMP file always keep in mind that, the first 54 bytes are teh header data. Skip those data. Start dumping from byte no 55 onwards where you will find actual RGB data. Also you have to see for a 565 (16 bit) BMP file.

rosarium
Associate II
Posted on October 13, 2011 at 13:57

I just missed to mention one point.

Before dumping the data into teh TFT RAM, you have to set the display window by calling teh function : SET_DisplayWindow( ) with proper co-ordinates where you want to display that icon.