Thread
:
Multiple Interrupts
View Single Post
#
5
31-01-2008, 13:49
JohnC
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
Re: Multiple Interrupts
I just had a bad idea. If you want interrupts on the rising AND falling edges...
Code:
void Int_1_ISR(void) { INTCON2bits.INTEDG2 = !INTCON2bits.INTEDG2; }
Mmm, does anyone smell the processor cooking?
__________________
What place are we at? ... TODAI!
JohnC
View Public Profile
Visit JohnC's homepage!
Find all posts by JohnC
Find CD-Media Photos by JohnC
Find CD-Media Papers by JohnC