This is for the 452 but I think it should be pretty much the same thing.
Code:
@ __CONFIG _CONFIG1H, _OSCS_OFF_1H & _HSPLL_OSC_1H
' Oscillator Switchover Disabled
' Oscillator Type HS PLL
@ __CONFIG _CONFIG2L, _BOR_ON_2L & _PWRT_ON_2L & _BORV_45_2L
' Brown-Out Reset Enabled
' Power-Up Timer Enabled
' Brown-Out Reset Voltage 4.5V
@ __CONFIG _CONFIG2H, _WDT_ON_2H
' Watch Dog Timer Enabled
@ __CONFIG _CONFIG4L, _STVR_ON_4L & _LVP_OFF_4L & _DEBUG_OFF_4L
' Stack Over/Underflow Reset Enabled
' Low Voltage ICSP Programming Disabled
' Background Debugger Disabled
Bookmarks