Somehow, I doubt it is this easy, but... what is the square on BCF IN "square" TCON,2 ???
Code:; Insert interrupt code here bsf _myflag movf psave, W movwf PCLATH swapf ssave, W movwf STATUS swapf wsave, F swapf wsave, W bcf IN TCON,2 bsf INTCON ,7 retfie ; Return from rupt endasm




Bookmarks