hMem = GUI_MEMDEV_Create(50,50,110,90);
GUI_MEMDEV_Select(hMem);
GUI_DrawBitmapMag(&bm3,50,50,1,1);
GUI_SetFont(&GUI_FontComic18B_ASCII);
GUI_MEMDEV_CopyToLCD(hMem);
for(;;)
{
GUI_MEMDEV_Select(hMem);
GUI_MEMDEV_CopyToLCD(hMem);
GUI_MEMDEV_Select(0);
GUI_Exec();
GUI_SetTextMode(GUI_TM_TRANS);
GUI_DispDecAt(date,50,50,2);
OSTimeDlyHMSM(0,0,1,0);
}
其中显示的date是时间变化的,仿真的时候出现时间一直出现重叠现象,也就是根本就存储功能就没用,这是什么情况呢,我仿照列子实验也不行,在VC上能正常,但移植到KEIL上就不可以了 |