2010-07-02 11:34 AM
Input Capture / Minimum Frequency
2011-05-17 04:57 AM
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, Hal2011-05-17 04:57 AM
> 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.