> -----Original Message----- > From: Vasile Surducan [SMTP:vasile@L30.ITIM-CJ.RO] > Sent: Thursday, February 08, 2001 7:10 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Interupt problems HELP! > > From my experience you must turn the intcon_gie off at the begining of the > interrupt and not in the main. Else multiple interrupts may occure. > Also you don't need to set intcon_gie on in the main because retfie do > this job when you go out from ISR > Vasile > GIE is automatically cleared when the PIC jumps into an ISR. Mike -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.