void main(void)
{
 unsigned int j; 
 while(1)
  {
    for(j=0x01;j<=0x80;j<<=1)
    {
	P0=j;
        delay();
    }
  }
}