diff --git a/src/blink_led.c b/src/blink_led.c index df3b553..078c137 100644 --- a/src/blink_led.c +++ b/src/blink_led.c @@ -10,8 +10,7 @@ // The rest of fuses are left as default. __code uint16_t __at (_CONFIG1) __configword = _FOSC_INTOSC & _CLKOUTEN_OFF & _WDTE_OFF & _BOREN_ON & _CP_OFF; -#define LED_PORT PORTCbits.RC5 -#define LED_TRIS TRISCbits.TRISC5 +#define LED_PORT PORTAbits.RA5 // board layout: // mosfets clockwise from power feed: @@ -61,7 +60,7 @@ void main(void) PWM1OFCON = 0x00; // independent run mode PWM1CON = 0x80; // enable, standard PWM mode, active high output - RC5PPS = PPSO_PWM1; + RA5PPS = PPSO_PWM1; while(1) {