talhataj
Newbie level 3
- Joined
- Nov 22, 2012
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- 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
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