/* * File: config.h * Author: Sparky * * Created on ??????, 2013, ?????? 26, 11:33 */ #ifndef CONFIG_H #define CONFIG_H #ifdef __cplusplus extern "C" { #endif #include // CONFIG #pragma config FOSC = INTOSCIO // Oscillator Selection bits (INTOSCIO oscillator: I/O function on GP4/OSC2/CLKOUT pin, I/O function on GP5/OSC1/CLKIN) #pragma config WDTE = OFF // Watchdog Timer Enable bit (WDT disabled and can be enabled by SWDTEN bit of the WDTCON register) #pragma config PWRTE = ON // Power-up Timer Enable bit (PWRT enabled) #pragma config MCLRE = ON // MCLR Pin Function Select bit (MCLR pin function is MCLR) #pragma config CP = OFF // Code Protection bit (Program memory code protection is disabled) #pragma config IOSCFS = 8MHZ // Internal Oscillator Frequency Select (8 MHz) #pragma config BOREN = OFF // Brown-out Reset Selection bits (BOR disabled) #ifdef __cplusplus } #endif #endif /* CONFIG_H */