Have you tried all caps? Like so: __CONFIG _CONFIG1H, _HS_OSC_1H That's the only difference I can see, but if you have case sensitivity on, it might make a difference. I do know that the __CONFIG directive has been "deprecated", in favor of a newer format, but aside from a little grumbling, MPASM still accepts it. Which is good, because it seems changing to the newer format breaks something in PICBASIC. Mike H. PS- If anyone can tell me how to exclude a certain warning level from showing up in the output window, I'm all ears! On 3/1/06, 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 > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist