need help relted to PIC16F877A

Thread Starter

usman.anjum

Joined Oct 16, 2008
3
Hello

i am making a project in which iam taking input from Crank Shaft sensor of Motorbike and trasfering it to hyperterminal. I have used Interrrupts but there is a probelm program is not working .

i think i need to introduce interrups macros but i have no concept
please help me give me some program in which interrupts have been used

thanks
usman.anjum@gmail.com
 

Thread Starter

usman.anjum

Joined Oct 16, 2008
3
the algorithm of my project is

1. 1st interrupt will turn the timer 0, timer 1 and analog to digital converter on and timers will start counting.
2. an interrupt will turn of the timer 1 (timer 0 is still running) and send the no. of counts to hyperterminal.
3.1st interrupt will come again and stop the timer 1 send its no of counts and analog to digital converter results to hyperterminal and turn on timer o timer 1 and analog to digital converter again on after clearing the previous values


now please help me

i have problems in interrupts in MPLAB the compiler is not responding to interrupts please give me atleast an example of interrupt program
 
Top