
for ( i = 1000; i > 0; i-- ) 
{ 
   P1_0 = 0; //OFF 
   P1_0 = 1; //ON 
} 