
Originally Posted by
picpower
i only have to messure I and U and the speed.
it is possible to start timer0 when i receive a high pulse and stop the counter when the next high pulse is coming?
and can the pic do other things when the timer0 counts?
Hi,PicPw
You can use the CCP in capture Mode ...
You could also use Timer 1 as a free running timer and read it periodically ...see Microchip datasheet Timer section for details.
There are many many ways to do it ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks