Unsigned char numb[]={0x3f,0x30,0x5b,0x79,0x74,0x6d,0x6f,0x38,0x7f,0x7d,0x8f,0x40,0xff,0x00};
改成:
unsigned char numb[]={0x3f,0x30,0x5b,0x79,0x74,0x6d,0x6f,0x38,0x7f,0x7d,0x8f,0x40,0xff,0x00};
void InitIO()//你写成Void了
{
PinData = 0xff;
//PinA = 0;
//PinB = 0;
//PinC = 0;
PinSTART = 1;
PinOE = 1;
PinEOC = 1;
}
void two_ten(int num)//你写成Void
{
numb1=num/100;
num=num%100;
numb2=num/10;
num=num%10;
numb3=num;
//return;这里是void不能有返回
}
Void nNop(uchar i)改成void nNop(uchar i)