> Could anyone give some advice on how to disable the WDT enable > bit in C? WDTCONbits.SWDTEN = 0; Remember also if you are using an ICE, that you should disable the WDT in your program AND in the configuration tab of 'development mode' in MPLAB. Regards, Carlos Ojea -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.