The current MPLAB does NOT support the old syntax of __CONFIG Look back a few weeks ago, this is well discussed and I included a working example. Or you could READ the P18F452.INC file to see for your self. Rob Robson wrote: >I'm looking for some guidance on the proper syntax for setting 18F config >bits in MPLAB. What I've done _looks_ like the examples I've found, but >clearly I'm missing something. > >What I've tried: > >include "P18F452.INC" > > __config _config1H, _HS_OSC_1H > __config _config2H, _WDTPS_128_2H & _WDT_OFF_2H > __config _config2L, _BOR_OFF_2L & _PWRT_OFF_2L > __config _config3H, _CCP2MX_OFF_3H > __config _config4L, _STVR_ON_4L & _LVP_OFF_4L & _DEBUG_OFF_4L > >What I get: > >Error[113] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 38 : Symbol not previously >defined (_config1H) >Error[126] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 38 : Argument out of range >(not a valid config register address) >Error[113] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 39 : Symbol not previously >defined (_config2H) >Error[126] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 39 : Argument out of range >(not a valid config register address) >Error[113] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 40 : Symbol not previously >defined (_config2L) >Error[126] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 40 : Argument out of range >(not a valid config register address) >Error[113] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 41 : Symbol not previously >defined (_config3H) >Error[126] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 41 : Argument out of range >(not a valid config register address) >Error[113] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 42 : Symbol not previously >defined (_config4L) >Error[126] C:\PROGRA~1\MPLAB57\PBCAV101.ASM 42 : Argument out of range >(not a valid config register address) > >Any and all guidance would be appreciated, even if it's sprinkled with >admonishments for things I've been able to unearth from the manual or by >googling. > >RR > > > > -- * | __O Thomas C. Sefranek WA1RHP@ARRL.net |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist