
{ 
  unsigned int k,l = 0; // k should be a char
  unsigned char j = 0; 
  while(1)
  { 
    for(j=0x00;j<0xff;j++) // the blink frequency will depend on which P3 pin is used
    { 
      P3=j; // set P3 
      // the above blow all control signals and may -
      // generate interrupts if enabled
      for(k=0;k<4;k++) // make next wait *4
      { 
        for(l=0;l<10000;l++); // wait a bit
      } 
    } 
  } 
}; 