Hi willem,
That's asking a little too much from a PIC.
For 200hz, with 10-bit resolution, it would require 204,800 interrupts per second.
Running at 20mhz, the PIC can execute 5,000,000 instructions per second, which leaves 24 instructions per interrupt. That's not even enough to save/restore the Context for the interrupts, let alone turn things on and off accordingly.
Sorry!
<br>
Bookmarks