View Single Post
  #5   Spotlight this post!  
Unread 31-01-2008, 13:49
JohnC's Avatar
JohnC JohnC is offline
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
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
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!