# include
# include
# define uint unsigned int
# define uchar unsigned char
Void delay (uint);
Uchar temp.
Temp=0 xfe;
P1=temp;
Void main ()
{
While (1)
{
Temp=_cror_ (temp, 1);
Delay (600);
P1=temp;
}
}
Void delay (uint z)
{
Uint x, y;
For (x=100; X> 0; X -)
For (y=z; Y> 0; Y -);
}
Display an error
The error C231: 'P1: redefinition
What is wrong, I didn't redefine P1?