compiling main.c...
MAIN.C(12): error C231: 'TempData': redefinition
MAIN.C(12): error C231: 'TempData': redefinition
MAIN.C(37): error C237: '_Display': function already has a body
MAIN.C(76): error C237: 'main': function already has a body
main.c - 4 Error(s), 0 Warning(s).
源程序
#define uchar unsigned char
#define uint unsigned int
#define DataPort P1
sbit LATCH1=P2^0;//定义锁存使能端口 段锁存
sbit LATCH2=P2^1;//
sbit PPP=P3^1;
sbit zzz=P0^7;
unsigned char code HEYAO_WeiMa[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
unsigned char code TempData[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x00,0x40};
uchar Temp[8];
uchar timecount;
bit flag;
unsigned long x;//
void delay() ;
void jing();
void Display(unsigned char FirstBit,unsigned char Num)
|