These are some really good ideas comming forth. I can try Paul's idea, of one interupt
and poll the the second in the ISR. I am already polling the CMCON.6 and 7. This should
cut the processing time by a good bit.
Something occured to me, since you are using schmitt triggers on the inputs, you also don't need to use the comparator interupts. You might find the CCP modules could do the same thing in a more effective way? Or change on portb. This also allows you to use other pics that don't have the comparators.
I never put togeather my phase shifter. Need to get back on it.
Interesting project!




Bookmarks