Anybody pick up anything else? I feel really frustrated with this interrupt. I think I will try pulling out everything but that interrupt as Joe suggested. Just hoping that maybe the order or bit is wrong in one of the registers.
Anybody pick up anything else? I feel really frustrated with this interrupt. I think I will try pulling out everything but that interrupt as Joe suggested. Just hoping that maybe the order or bit is wrong in one of the registers.
Thanks for your replies Joe S.
I figured out the problem. My ADCON1 should have been:
ADCON1 = %00011111 ' Set all to digital
Thanks Again,
Nemesis
After INT0 interrupt you are not clearing INT0IF variable. I don't know does it make difference or not, but add
before last ENDIF in INT0 interrupt section.Code:INT0IF = 0
Also TMR0 comment is not valid. It should be ON
BR,Code:INTCON = %10110000 ' Global, TMR0 off, INT0 ON
-Gusse-
Will do thanks Gussee. Sometimes I am victim of my own cut and paste. Thanks again all.
-Nemesis
Bookmarks