Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /******************************************************************************/
- /* Main Files to Include */
- /******************************************************************************/
- #if defined(__XC)
- #include <xc.h> /* XC8 General Include File */
- #elif defined(HI_TECH_C)
- #include <htc.h> /* HiTech General Include File */
- #endif
- /* TODO Fill in your config bits here. Use the configuration bits generator/ */
- #pragma config FOSC = INTOSCIO //internal ocsillator
- #pragma config WDTE = OFF //turn off WDT
- #pragma config LVP = OFF //turn off LVP
- #pragma config BOREN = ON //enable brownout reset
- #pragma config MCLRE = OFF //tie MCLR to Vdd, free up
- #pragma config CPD = ON //eprom protect
Advertisement
Add Comment
Please, Sign In to add comment