Hi-tec c pic 18 config

Thread Starter

Ctenom

Joined Nov 1, 2010
59
I'm currently programming with the following
HI-tech PICC18 V9.66
PIC 18f14k50
MPLAB X V1.10

The problem im having is that i usually set my configs like this


Rich (BB code):
__CONFIG (1,FOSC_INTIO67);
__CONFIG (2,WDTEN_OFF);
__CONFIG (3,MCLRE_INTMCLR);
__CONFIG (4,STVREN_OFF & DEBUG_ON & LVP_OFF);
however im uncertain how its done when there is a high and low register like CONFIG1L CONFIG1H. In the help section it says to use code like this

Rich (BB code):
#pragma config CPUDIV = CLKDIV2, USBDIV = OFF
However thats giving me a unknown pragma warning .
ive never had any problem with any pic before im so confused lol :confused:
 
Top