The last ?
Hi, RON
Ok, Thanks for the explanation ...
It really might be written instead of BUT ... : AND any interrupt ... !!!
So, appears no real need to set the GIE bit here ...
Back to Charudatt's program ...
mighn't there be a PORTB reading ... ( to end the "mismatch condition" ) ???.
Alain
Charudatt :
1) DEFINE ...INIT ... the result is quite normal !!! Pic wakes up to fall asleep ...
2) if the led keeps blinking means ... the program always stay in the interrupt stubb !!! We've traced it now.
in this case ... interrupt flags are not cleared ... : good reason, no ?
Last edited by Acetronics2; - 13th May 2007 at 10:54.
************************************************** ***********************
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