Thanks, funny now you mention it, it's there I just didn't leap out at me...
but there's no colon after the nominated handle/label at the top of the subroutine?Code:DEFINE INTHAND RDT
also, I'm figuring it must be necessary to have that 'ASM' entered immediately above?Code:ASM RDT BCF IOCAF,IOCAF1 ;clear IOCA negative change interrupt flag BCF INTCON,3 ;disable interrupt on change by clearing INTCON bit 3 BCF PORTC,5 ;turn on led solid RETFIE ;return to main ENDASM
thanks again looking forward to having a a dabble![]()
Bookmarks