#include<reg51.h>
void Delay10ms(unsigned int c)
#define tu P0
void main()
{
unsigned char code value[4];
unsigned char tu;
unsigned char i;
value[5]={0x92,0x25,0x9f,0x25,0x92};
while(1)
{
tu=value[i];
for(i=0;i<=4;i++)
{
tu=value[i];
Delay10ms(50);
if(i==4)
i=0;
}
}
}
STA
tiCTU.C(6): error C132: 'main': not in formal parameter list
怎么错了?请指教啊,嘿嘿。。。
-
一周热门 更多>