|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2012-9-19 12:15:15
|
显示全部楼层
adamwin2011 发表于 2012-9-19 10:55 ![](static/image/common/back.gif)
你是否是说这个???
对啊!我把Application文件夹下的C文件都溢出了,然后添加自己写的文件,我现在把问题找了,我在我写的文件的函数后面加了while死循环就好了,这样
void MainTask(void)
{
GUI_Init();
GUI_SetBkColor(GUI_RED); //set background color
GUI_Clear();
GUI_Delay(1000);
GUI_SetBkColor(GUI_BLUE);
GUI_Clear();
GUI_Delay(1000);
GUI_SetColor(GUI_RED); //set script color
GUI_SetFont(&GUI_Font8x16);
GUI_DispStringAt("Hello World!\r\n",300,0);
GUI_DispChar('\n');
GUI_DispChar('\n');
//GUI_SetColor(GUI_YELLOW); //set script color
GUI_SetTextMode(GUI_TEXTMODE_TRANS);
GUI_SetTextAlign(GUI_TA_BOTTOM);
GUI_DispString("hello world!");
GUI_SetTextMode(GUI_TEXTMODE_XOR);
GUI_DispChars('#',30);
//GUI_DispStringAtCEOL("HELLO",100,100);
GUI_DispStringLen(" hello world!", 15);
while(1);
}
,不过还是谢谢你! |
|