Re: Timing issue
Hi,
Three things ...
1) you use the IOC interrupt ... so that rings the " Mismatch condition " bell in my head ... see Sleep datasheet chapter.
2) Microchip recommends to place a NOP instruction just past the Sleep one, when using the feature this way.
3) when you push a button ... you obviously release it one day ! makes two input changes ...
Alain
Last edited by Acetronics2; - 27th November 2011 at 09:57.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks