Corne Smith said: > I've got a basic question that I still don't understand. > > What is the wachdog timer used for ? > I know it is used to reset the PIC,but why ? In case your code goes in the weeds, then the watchdog timer pulls it back in. This could be due to noise or perhaps even a bug in your program. It is a "safety" precaution. The theory is that if the watchdog doesn't get reset, then the processor isn't executing the right code. Hope this helps, Alan G. Smith +--------------------------------------------------------- | Alan G. Smith | ags@poboxes.com | http://www.innovatus.com/ags