how to create while loop

i want toggle the led continuously ,same like for generation of pulse signal witch repeat after particular interval of time. Ton= 10 microsec Toff= 60msec

Hi Yogesh, Normally you would

Hi Yogesh, Normally you would not use a for loop to burn time as it wastes CPU cycles needlessly. So one way to do this is to connect a pulse train block to the GPIO connected to the LED and run the diagram at 100kHz. Set the pulse interval to .06 sec. That will do exactly what you ask, but using interrupts so you can do a lot more with the remaining CPU cycles.