It does not look like you are setting the config correctly.
The thread that Joe and I pointed you to should have helped.
For now try going to the inc file for this chip in the PBP directory. Below is part of it.
If you are using PM for the assembler change
device pic12F683, intrc_osc_noclkout, wdt_on, mclr_on, protect_off
to
device pic12F683, hs_osc, wdt_on, mclr_on, protect_off
If you are using MPASM then change
__config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF
to
__config _HS_OSC & _WDT_ON & _MCLRE_ON & _CP_OFF
Code:
device pic12F683, intrc_osc_noclkout, wdt_on, mclr_on, protect_off
XALL
NOLIST
else
LIST
LIST p = 12F683, r = dec, w = -302
INCLUDE "P12F683.INC" ; MPASM Header
__config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF
Bookmarks