cancel
Showing results for 
Search instead for 
Did you mean: 

Input Capture / Minimum Frequency

kzawada
Associate II
Posted on July 02, 2010 at 20:34

Input Capture / Minimum Frequency

2 REPLIES 2
raptorhal2
Lead
Posted on May 17, 2011 at 13:57

In my program, I use != RESET instead of  = = SET and it works OK.

Your program will now have to compute a 32 bit counter value at each capture compare interrupt, but you can probably figure all of that out.

You can also slow down the counter with a prescaler to get lower RPMs. This reduces the answer precision, so you have a tradeoff to assess.

I presume you solved the previous problem of just getting something to work

Cheers, Hal

domen23
Associate II
Posted on May 17, 2011 at 13:57

> In my program, I use != RESET instead of  = = SET and it works OK.

I do not see the relevance. It's either one or the other, that's what the source says.