这个单片机程序的提示什么意思?求高手指点一下,使之编译成功。谢谢!
#include<reg51.h>sbit P32=P3^2;
void Delay(unsigned int i) //延时程序
{
unsigned int j;
for(;i>0;i--)
{
for(j=0;j<125;j++)
{
;
}
}
}
void main(void)
{
unsigned char cout; //定义变量cout
while(1)
{ 将将
P1=cout;
while(P32) ; //键按下等待,等待P32 为0
while(!P32) ; //等待键放开,等待P32为1
Delay(10); //延时10s
cout++; //计数值加1
}
}
提示:
编译 COUNT1.c ...
COUNT1.C(22): 错误 C100: unprintable character 0xBD skipped
COUNT1.C(22): 错误 C100: unprintable character 0xAB skipped
COUNT1.C(22): 错误 C100: unprintable character 0xBD skipped
COUNT1.C(22): 错误 C100: unprintable character 0xAB skipped
COUNT1.C(31): 错误 C100: unprintable character 0xBC skipped
COUNT1.C(31): 错误 C100: unprintable character 0xC6 skipped
COUNT1.C(31): 错误 C100: unprintable character 0xCA skipped
COUNT1.C(31): 错误 C100: unprintable character 0xD6 skipped
COUNT1.C(31): 错误 C100: unprintable character 0xB5 skipped
COUNT1.c - 9 个错误, 0 个警告。
是语法错误还是建立工程或文件有问题?