# define D P0;
Void delays (unsigned int c);
Unsigned char code table []={x5b x3f 0, 0 x06, 0, 0 x4f, 0 x66, 0 x6d, 0 x7d, 0 x07,
X6f 0 x7f, 0, 0 x77, 0 x7c, 0 x39, 0 x5e, 0 x79, 0 x71};
Void main ()
{
Unsigned char I=0;
While (1)
{
D=~ table [I];
i++;
If (I==16)
{
i=0;
}
Delays (50);
}
}
Void delays (unsigned int c)
{
Unsigned char b, a;
For (; C> 0; C -)
{the for (b=38; B> 0; B -)
{the for (c=130; A> 0; A -);
}
}
}
Test. C (11) : warning C275: expression with possibly no effect
Test. C (11) : error C141: syntax error near the '='
CodePudding user response:
The great spirit guide, pleaseCodePudding user response:
Errors have been found which define the back should not add a semicolon,,,,CodePudding user response:
This mistake,,, plus a habitual; At the end,,,