Chương trình này thực hiện sao các bạn
while(1)
{
for(i=0;i<8;i++)
P0=P0>>1;
delay(50000);
for(j=8;j>0;j--)
P0=P0<<1;
delay(50000);
}
while(1)
{
for(i=0;i<8;i++)
P0=P0>>1;
delay(50000);
for(j=8;j>0;j--)
P0=P0<<1;
delay(50000);
}