#include<reg51.h>
#define uchar unsigned char
#define uint unsigned int
void delay(uint);
uchar d1 = P1&0xe3;
uchar code a[]={0xff, 0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F,};
void main()
{
}
void delay(uint t)
{
uchar a,s;
for(a=0;a<t;a++)
for(s=0;s<250;s++);
}
老是出现这个:..\1\1.C(5): error C247: non-address/-constant initializer
|