fix configuration register
parent
8f020f1214
commit
29721bce3d
|
@ -8,7 +8,7 @@
|
||||||
// disable watchdog,
|
// disable watchdog,
|
||||||
// and DO NOT disable low voltage programming.
|
// and DO NOT disable low voltage programming.
|
||||||
// The rest of fuses are left as default.
|
// The rest of fuses are left as default.
|
||||||
__code uint16_t __at (_CONFIG1) __configword = _WDTE_OFF & _BOREN_ON & _CP_OFF;
|
__code uint16_t __at (_CONFIG1) __configword = _FOSC_INTOSC & _CLKOUTEN_OFF & _WDTE_OFF & _BOREN_ON & _CP_OFF;
|
||||||
|
|
||||||
#define LED_PORT PORTCbits.RC5
|
#define LED_PORT PORTCbits.RC5
|
||||||
#define LED_TRIS TRISCbits.TRISC5
|
#define LED_TRIS TRISCbits.TRISC5
|
||||||
|
|
Loading…
Reference in New Issue