Hi,
I am doing the first configuration for the PIC18F4550, can someone please tell me if it is correct? Should FOSC be set to HS or to HSPLL_HS ?
Thanks in advance.
I am doing the first configuration for the PIC18F4550, can someone please tell me if it is correct? Should FOSC be set to HS or to HSPLL_HS ?
Thanks in advance.
Rich (BB code):
#pragma config FOSC = HS
#pragma config PLLDIV = 5
#pragma config CPUDIV = OSC1_PLL2
#pragma config USBDIV = 2
#pragma config FCMEN = OFF
#pragma config IESO = OFF
#pragma config PWRT = OFF
#pragma config BOR = ON
#pragma config VREGEN = ON
#pragma config WDT = OFF
#pragma config MCLRE = ON
#pragma config LVP = OFF
#pragma config ICPRT = OFF
#pragma config CP0 = OFF