ahmet2004
Member level 3
I need to measure a tach signal. I have it wired to C2, which is a ECCP input. I think I should be able to use that to get counts but I'm not sure how to do that.
I get the impression that I need to set up the ECCP to count mode, reset the timer, come back after a known period of time, and read the counter, then reset the timer and do it again.
Am I on the right track. Is there any demo code of either doing what I described or doing the right thing if I'm not on the right track...
I get the impression that I need to set up the ECCP to count mode, reset the timer, come back after a known period of time, and read the counter, then reset the timer and do it again.
Am I on the right track. Is there any demo code of either doing what I described or doing the right thing if I'm not on the right track...