Can I Configure the CCP1 module as PWM to blink LEDs on an MPLAB® Xpress Evaluation Board?
The CCP1 output is not directly connected to the RA0-RA7 pins on the board. There are two options to configure CCP1 to blink the LED:
- Connect an LED on RB0 or any other pin that is directly connected to the CCP1 output (J7 connector on the board) and configure the CCP1 mode as PWM with MCC.
- Use a CLC module to map the CCP1 output to PORTA and configure the CCP1 module as PWM with the CLC module to map the CCP1 out to the RA0 pin.