kushal nandanwar
Full Member level 3
- Joined
- Jun 9, 2013
- Messages
- 177
- Helped
- 6
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 18
- Activity points
- 1,258
Code dot - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 void __attribute__((interrupt, no_auto_psv)) _INT1Interrupt(void) {led=~led; IFS1bits.INT1IF=0; //clear INT0 interrupt flag } void EXT_INT(void) { INTCON1=0x00; INTCON2=0x00; INTCON2bits.INT1EP=0; IPC4bits.INT1IP=0; IFS1bits.INT1IF=0; IEC1bits.INT1IE=1; }
my External Interrupt not working
Last edited by a moderator: