Actually I have other code after the LOW led. After many trial and error, if i remove intcon then this problem will not occur.
But this is not the solution because I need the interrupt to enable for it to increment the enc_counter.
Actually I have other code after the LOW led. After many trial and error, if i remove intcon then this problem will not occur.
But this is not the solution because I need the interrupt to enable for it to increment the enc_counter.
Last edited by Pic2008; - 7th November 2008 at 12:20.
Bookmarks