Oops, the config fuses were set to PM assembler. This is the correct code to MPASM. Sorry about that.
Code:
@ __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _CPD_OFF & _CP_OFF
' System Clock Options (Internal)
' Watchdog Timer
' Power-On Timer
' Master Clear Options (Internal)
' Brown-Out Detect
' Data Memory Code Protect
' Program Code Protection
Are you sure your running v1.45 and not v2.45. That would have to be pretty old if that is correct.
Bookmarks