Thanks Henrik,

I usually read most posts that seem to have something I could use... but that one slipped my notice.

quote:
With @ SLEEP it's one WDT period - period.
But it seems to me that if you use the "@ sleep", doesn't the PIC go to sleep perminantly, unless "interrupted" awake?? Whereas if you use the PBP SLEEP you need to specify how many seconds.

Also if you use the PBP SLEEP command It cannot be interrupted awake until the completion of the sleep time period? (at least that is what the manual leads me to understand.) Therefore if you want the PIC to sleep for 60 seconds... you cannot wake it up with ANY type of interrupt untill the 60 seconds expires. So you must sleep in very short periods checking for an interrupt in between sleep times.

My ultimate goal is to get the PIC to sleep and ONLY wake up if PortA.3 or PortA.4 is taken low OR if 60 seconds has elapsed. A.3 and A.4 are pushbuttons and I would like decent response time on these buttons so I may have to use the PBP "NAP" statement and take say 120 x 500ms naps.

That is where I was hoping the WDT could wake me up after 60 seconds.

Thanks again