Rick Miller wrote: > If your watchdog timer times out, the PIC should reset... not continue. No, not necessarily. This is true for the 12 bit PICs, but not for the 14 bitters. Myke did not say what chip he is using, but if my guess is right, he is using a 14 bit chip. The 14 bit chips have two different behaviours for WDT timeout - in sleep mode it just wakes the chip up and it resumes execution. In non-sleep mode it resets. Myke, perhaps you are getting a WDT timeout _after_ the sleep has "returned", and this is causing the reset? How do you handle a WDT timeout when the key is *not* pressed? Clyde -- Clyde Smith-Stubbs | HI-TECH Software, | Voice: +61 7 3300 5011 clyde@hitech.com.au | P.O. Box 103, Alderley, | Fax: +61 7 3300 5246 http://www.hitech.com.au | QLD, 4051, AUSTRALIA. | BBS: +61 7 3300 5235 ---------------------------------------------------------------------------- For info on the World's best C cross compilers for embedded systems, point your WWW browser at http://www.hitech.com.au, or email info@hitech.com.au