Interrupt: Need to keep track of time spent in routine or ... ?

I was just reading and thinking about what you wrote, ShelleyCat :slight_smile: Didn't mean to ignore your post.

If I'm reading it correctly, you are suggesting the smart man's version of what I suggested: the interrupt sets a flag. I return to the body of the program but, with the flag, I can't output anything until a certain amount of time expires. The trouble is that many of the devices are controlled by different code.