[mw_shl_code=c,true]#include "GUI.h"
#ifndef GUI_CONST_STORAGE
#define GUI_CONST_STORAGE const
#endif
extern GUI_CONST_STORAGE GUI_BITMAP bmframe;
static GUI_CONST_STORAGE unsigned char _acframe[] = {
0x20, 0x2C, 0x3A, 0x41, 0x4D, 0x5B, 0x45, 0x51, 0x5F, 0x3B, 0x47, 0x55, 0x45, 0x51, 0x5F, 0x47, 0x53, 0x61, 0x3D, 0x49, 0x57, 0x3D, 0x49, 0x57, 0x42, 0x4E, 0x5C, 0x45, 0x51, 0x5F, 0x45, 0x51, 0x5F, 0x44, 0x50, 0x5E, 0x46, 0x52, 0x60, 0x48, 0x54, 0x62,
0x41, 0x4D, 0x5B, 0x35, 0x41, 0x4F, 0x49, 0x55, 0x65, 0x4D, 0x59, 0x69, 0x45, 0x51, 0x61, 0x34, 0x40, 0x50, 0x2C, 0x38, 0x48, 0x34, 0x40, 0x50, 0x3F, 0x4B, 0x5B, 0x42, 0x4E, 0x5E, 0x50, 0x5C, 0x6C, 0x53, 0x5F, 0x6F, 0x5A, 0x66, 0x76,
0x51, 0x5D, 0x6D, 0x3D, 0x49, 0x59, 0x3D, 0x49, 0x59, 0x4D, 0x59, 0x69, 0x54, 0x60, 0x70, 0x52, 0x5E, 0x6E, 0x4E, 0x5A, 0x6A, 0x57, 0x63, 0x73, 0x59, 0x65, 0x75, 0x4B, 0x57, 0x67, 0x47, 0x53, 0x63, 0x58, 0x64, 0x74, 0x68, 0x74, 0x84,
0x43, 0x4F, 0x5F, 0x56, 0x62, 0x72, 0x5B, 0x67, 0x77, 0x55, 0x61, 0x71, 0x55, 0x61, 0x71, 0x55, 0x61, 0x71, 0x57, 0x63, 0x73, 0x5F, 0x6B, 0x7B, 0x56, 0x62, 0x72, 0x4F, 0x5B, 0x6B, 0x54, 0x60, 0x70, 0x61, 0x6D, 0x7D, 0x60, 0x6C, 0x7C,
};
GUI_CONST_STORAGE GUI_BITMAP bmframe = {
480, // xSize
272, // ySize
1440, // BytesPerLine
24, // BitsPerPixel
(unsigned char *)_acframe, // Pointer to picture data
NULL, // Pointer to palette
GUI_DRAW_BMP24
};
/*************************** End of file ****************************/
void MainTask(void) {
GUI_Init();
GUI_DrawBitmap(&bmframe, 0, 0);
while (1) {
GUI_Delay(100);
}
}[/mw_shl_code]
[mw_shl_code=c,true]例如我用STEMWINBuilder生成的图片大数组如上,请问如何存入外部的Flash? 想用串口助手发数据,发一字节存一字节,可以吗? [/mw_shl_code]
[mw_shl_code=c,true]
[/mw_shl_code]
[mw_shl_code=c,true]如果可以,我该怎么发?[/mw_shl_code]
|