#include<reg51.h>
#include<stdio.h>
#define uint unsigned int
char data a[32]={1,3,9,2,17,4,11,6,5,20,100,64,21,14,79,35,92,7,91,23,65,16,13,18,18,73,65,101,27,19,62,69};
uint i _at_ 0x55;
void DELAYMS(uint ms)
{
char t;
while(ms--)for(t=0;t<120;t++);
}
void main()
{
SP=0x60;
SCON=0x52;
TMOD=0x20;
TH1=0xff;
TR1=1;
for(i=0;i<32;i++)
{
printf("it is:%d now",a[ i]);
DELAYMS(20000);
}
while(1);
}
红色语句在编译的时候,出现了错误提示:
simlab3.c(18): error C100: unprintable character 0xA3 skipped
simlab3.c(18): error C100: unprintable character 0xBB skipped
这是为啥,这是我第一个51单片机c语言编程,求指教。
|