public config FPLLODIV(FPLLODIV) = {DIV_1}
public config UPLLEN(UPLLEN) = {ON}
public config UPLLIDIV(UPLLIDIV) = {DIV_2}
public config FPLLMUL(FPLLMUL) = {MUL_20}
public config FPLLIDIV(FPLLIDIV) = {DIV_2}
public config FWDTEN(FWDTEN) = {ON, OFF}
public config FPBDIV(FPBDIV) = {DIV_1}
public config WDTPS(WDTPS) = {PS1}
public config FCKSM(FCKSM) = {CSECME}
public config OSCIOFNC(OSCIOFNC) = {OFF}
public config POSCMOD(POSCMOD) = {XT}
public config IESO(IESO) = {ON}
public config FSOSCEN(FSOSCEN) = {OFF}
public config FNOSC(FNOSC) = {PRIPLL}
' set config for program...
config FPLLODIV = DIV_1 // PLL Output Divider
config UPLLEN = ON // USB PLL Enabled
config UPLLIDIV = DIV_2 // USB PLL Input Divider
config FPLLMUL = MUL_20 // PLL Multiplier
config FPLLIDIV = DIV_2 // PLL Input Divider
config FWDTEN = OFF // Watchdog Timer
config FPBDIV = DIV_1 // Peripheral Clock divisor
config WDTPS = PS1 // Watchdog Timer Postscale
config FCKSM = CSECME // Clock Switching & Fail Safe Clock Monitor enabled
config OSCIOFNC = OFF // CLKO Enable
config POSCMOD = XT // Primary Oscillator
config IESO = ON // Internal/External Switch-over
config FSOSCEN = OFF // Secondary Oscillator Enable (KLO was off)
config FNOSC = PRIPLL // Oscillator Selection
Return to Development Environment
Users browsing this forum: No registered users and 5 guests