The file you have posted DO NOT modify. That is the MPASM file that has all the chip details. At the bottom of the file all of the config options are listed.
The file you need to modify is in the PBP directory.
Make it look like this.
Code:;**************************************************************** ;* 12F629.INC * ;* * ;* By : Leonard Zerman, Jeff Schmoyer * ;* Notice : Copyright (c) 2005 microEngineering Labs, Inc. * ;* All Rights Reserved * ;* Date : 08/31/05 * ;* Version : 2.46a * ;* Notes : * ;**************************************************************** NOLIST ifdef PM_USED LIST include 'M12F629.INC' ; PM header device pic12F629, intrc_osc_noclkout, wdt_on, mclr_on, protect_off XALL NOLIST else LIST LIST p = 12F629, r = dec, w = -302 INCLUDE "P12F629.INC" ; MPASM Header __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _BODEN_OFF & _CP_OFF NOLIST endif LISTNo, PBP does that for you at compile time when it reads the above file.Also, Dont i have to reference in the code, like, list p=12f629 or something like that?





Bookmarks