#include
#include
#define uchar unsigned char
uchar led=0xfe;
void delay(uchar a)
{
uchar i;
while(a--)for(i=0;i
}
main()
{
uchar i;
while(1)
{
for(i=0;i
{
P0=led;
delay(200);
led=_crol_(led,1);
}
for(i=0;i
{
P0=led;
delay(200);
led=_cror_(led,1);
}
}
}