Hi ghoot,
Ohh... to allow the B4-7 interrupt, guess you couldn't use the 'disable' there.
Where is the value for "TimeDely" coming from? Could it be getting mis-read (from EEPROM??) or something - causing the shorter than expected sleep time?
Which part # are you using??
"Disable" is a PBP 'compile time' (for lack of a better term) instruction. It just tells PBP not to insert the bits of code that check for interrupts. The info on it wouldn't be in the PIC's data sheet.
>>>>>>>
Archilochus




Bookmarks