hi..
i am using ccs compiler to program pic 16f877a. Now my fequirement is to count the digital pulse from proximity sensor which is connected at the 17th pin. can i use capture command to measure pulse width and there by i can i calculate frequency and speed? or should i have to use counter??? can anyone send basic codings regarding thiz???
Hi..
Ya u can measure he speed using the CAPTURE terminal for more details see an example in u'r "PICC compiler" Example...See the capture module example file...Ex_freqc.c file..