Quote Originally Posted by Bosse View Post
Can not find out how to find out about the CONFIG word.
The config fuses are explained in the 16F886 datasheet in the 'Special Features of the CPU' section.

Have comment out the CONFIG word in the program. using MPASM assembler.
If you comment them out in the 16F886.INC file in the PBP folder, you need to put them in your main program.
If you don't put them in your main program, you can temporarily/permanently set them in the 16F886.INC file in the PBP folder.

Really wants to find out how to configure CONFIG word for 16F886.
And again...if you read, and re-read, and re-read, and heed, this thread:
http://www.picbasic.co.uk/forum/show...ght=presetting
You will understand what needs to go where...
Get the list of available/recognized config fuses settings from the 16F886.INC file in the MPASM folder...just like the thread says to do...

;************************************************* ***************
;* 16F886.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2006 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 05/26/06 *
;* Version : 2.47 *
;* Notes : *
;************************************************* ***************
NOLIST
ifdef PM_USED
LIST
include 'M16F88x.INC' ; PM header
device pic16F886, xt_osc, wdt_on, mclr_on, lvp_off, protect_off
XALL
NOLIST
else
LIST
LIST p = 16F886, r = dec, w = -302
INCLUDE "P16F886.INC" ; MPASM Header
__config _CONFIG1, _INTOSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
If you're going to put the config fuses in your program, comment out the above line
If you're going to make the config fuses temporarily/permanent, change the above line to what you need using the available settings in the 16F886.INC in the MPASM folder
NOLIST
endif
LIST