Thanks Jerson, that is pretty much what I was proposing. This is actually for the flash sync part of a laser trigger for capturing flying insects. To reduce the granularity I coded it without the PAUSEUS. Jumping out of the FOR ... TO ... loop works fine. I was just wondering what the alternatives might be.

Andrew