[table][tr][td]
<div class="blockcode"><div id="code_zC3">
- void Lcd_show_bmp(unsigned short int x, unsigned short int y,unsigned char *pic_name)
- {
- int i, j, k;
- int width, height, l_width;
- BYTE red,green,blue;
- BITMAPFILEHEADER bitHead;
- BITMAPINFOHEADER bitInfoHead;
- WORD fileType;
- unsigned int read_num;
- unsigned char tmp_name[20];
- sprintf((char*)tmp_name,&quot;0:%s&quot;,pic_name);
- f_mount(0, &bmpfs[0]);
- BMP_DEBUG_PRINTF(&quot;file mount ok \r\n&quot;); bmpres = f_open( &bmpfsrc , (char *)tmp_name, FA_OPEN_EXISTING | FA_READ);
|