HOW to disable WatchDog timer

Status
Not open for further replies.

yousufsaleem

Junior Member level 1
Joined
Mar 7, 2012
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,414
how to disable watchdog timer in PIC18F452


when programming it on Assembly language

and using software MP LAB for programming
 

Select Configure in MPLAB IDE and then configuration bits.
Un check the Set Configuration bits in code and proceed further by changing appropriate bit

or

See the __CONFIG directive, section 5.9 in the User's Guide, and look at the *.INC file for your processor (or the template file) for the available config bit names.

- - - Updated - - -

for example

Code:
#include p16f877a.inc   ;include file with config bit definitions
__config _HS_OSC & _WDT_OFF & _LVP_OFF  ;Set oscillator to HS,
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…