On 9/14/05, Peter van Hoof wrote: >=20 > Sean, >=20 > I think I have found it, >=20 >=20 > > BCF STATUS, RP0 ; Return to BANK 0 > > > > ; Turn off comparators > > CLRF CMCON0 ; Clear CMCON0 > > > > ; Clear Ports 'n Timers > > CLRF PORTA > > CLRF PORTC > > CLRF TMR0 > > > > ; Interrupt Configuration > > BSF INTCON, GIE ; Set the General Interrupt Enable bit to 1>. > > > > BCF INTCON, RAIF ; Clear the PORTA interrupt flag. > > BSF INTCON, RAIE ; Enable PORTA change interrupt. > > BSF IOCA, IOCA3 ; Enable interrupt-on-change on RA3. >=20 > IOCA is in bank 1 not bank 0 we are tinkering with now! > There might be other problems but this is likely to cause grief >=20 > Ahhh, nasty. I saw that it was in bank1 in the datasheet last night. So= =20 much for placing it next to the other Interrupt settings. Thanks. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist