True, there are ways to improve the resolution of this timing, but given the original question (timing for ~10 sec) I think a resolution of 1/40 second should do.
Of course, the resolution (or error as you put it) can also be improved by lowering the "wait until ms multiple" input to 5 ms.... It all depends on the requirements. Can you post an example of your approach, I think I know what you mean with the producer/consumer approach, but I'm not quite sure. It's actually not something I would have thought of immediately, but could be useful for demanding routines. Regards Shane.
