下载出厂测试到nand flash后,用超级终端测试,因为测试程序为3.5屏,而开发板为4.3寸的屏,故在修改部分地方后,前4个和第6个实验均能顺利完成,但是第5个触屏测试中
while(1) //to check Pen-up state
{
if(rSUBSRCPND & (BIT_SUB_TC)) //check if ADC is finished with interrupt bit
{
//Uart_Printf("Stylus Up Interrupt~!\n");
break; //if Stylus is up(1) state
}
Uart_printf("circulating!/n");//自加
}
这个循环成为无限循环。不知是何原因。。。
超级终端在Stylus Down, please......之后,就不再反应,加上Uart_printf("circulating!/n");之后,发现超级终端不断出现circulating!~~~
希望得到答复,谢谢~!~!!