Thanks for that - that's really helpful. My inability to remember a PIC number is why you couldn't find it - In fact I have a PIC 16F876

The same numbers, but in a completely different order. Oh well...!

The idea is that the counter is incremented in the service routing, and the value of the counter is polled in the loop. The whole thing is basically a variable oscillator controlled via the serial line (again using interrupts), so all the main loop needs to do is loop and constantly check if anything needs changing by comparing variables. Hopefully this will mean very low latency.

Thanks again,


Ben