How to use timer of PIC18f452

Status
Not open for further replies.

talhataj

Newbie level 3
Joined
Nov 22, 2012
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,327
Hi Guys,

I am programming a PIC18F452 controller, i want to count the time of a pulse i.e. the time between the two peaks. The RC oscillator i m using has the frequency of 10Mhz. Can anyone help me in writing a code to use any of the controller pins as input and counting the time between the two peaks of the signal. The compiler i am using Is C18 in MPLAB v 8.88

Regards,
Taj
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…