If you want a pulse, pause, then a pulse, pause, then a pulse, pause, then a pulse, pause, then restart, sure, that code will work.
If you want pulses that can be independently adjusted, then no. You need to use Blink-without-delay type programming.
If you want a pulse, pause, then a pulse, pause, then a pulse, pause, then a pulse, pause, then restart, sure, that code will work.
If you want pulses that can be independently adjusted, then no. You need to use Blink-without-delay type programming.