Hi George,
PBP has default config fuse settings in each device header file. For the 16F88 look in your 16F88.inc file in your PBP directory.
Each PIC family has a device specific header file that contains these default settings. Looks something like this;
Code:
NOLIST
ifdef PM_USED
LIST
include 'M16F88.INC' ; PM header
device pic16F88, hs_osc, wdt_on, lvp_off, protect_off
XALL
NOLIST
else
LIST
LIST p = 16F88, r = dec, w = -302
INCLUDE "P16F88.INC" ; MPASM Header
__config _CONFIG1, _HS_OSC & _WDT_ON & _LVP_OFF & _CP_OFF
NOLIST
endif
LIST
If you're using the default PM assembler, the first section is used at compile time to set default config fuse settings. With MPASM, the 2nd.
Assuming you're using the PM assembler, you can change or over-ride these default settings by adding your own config fuse settings to your code like this;
@ DEVICE INTRC_OSC, CCPMX_OFF, MCLR_OFF, LVP_OFF, WDT_OFF
' CCPMX_ON = PWM ON B.3, CCPMX_OFF = PWM ON B.0
' CCPMX is the CCP multiplex config option
Or simply change them with your programmer software before burning your code into the target.
There are several threads on config fuse settings here, so I won't go into details rehashing something that's already here, but that should get you started.
Bookmarks