#ifdef _18F4331
// Settings for PIC18F4331
//__CONFIG(1,RCCLKO & IESODIS & FCMDIS); //RCCLKO [CONFIG1H<0:3>: 0xF9]: Internal RC, RA6=Fosc/4 & RA7=IO
__CONFIG(1,RCIO & IESODIS & FCMDIS); //RCIO [CONFIG1H<0:3>: 0xF8]: Internal RC, RA6=IO & RA7=IO
__CONFIG(2,BORDIS & PWRTDIS & WDTDIS);
//__CONFIG(3,MCLRDIS & PWM4RD5); //Configure PWM4 on alternate pin, RD5
__CONFIG(3,MCLRDIS);
__CONFIG(4,DEBUGDIS & STVRDIS & LVPDIS);
__CONFIG(5,UNPROTECT);
__CONFIG(6,WRTEN);
#else
#error Unsupported PICmicro MCU selected
#endif