Step 2: Configuration of MCC
Configuration of MPLAB® Code Configurator (MCC)
Create a new project with PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit (Refer Lab 1 manual). Once the project is created and the MCC is launched, in Plugins drop-down bar, select Pin Configuration.
Once the Pin Configuration is selected, three windows (Pin Diagram, Pin Table and Pin Settings) will be opened.

Go to Pin Settings and find the User LED pin (this can be found in PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit user guide of the kit).


Configure the pin PA15 as GPIO and do the configuration shown in the accompanying image.

Also, edit the name of the peripheral (GPIO) by double-clicking the Custom Name column. (Here, the name of the peripheral has been changed to LED1.) The functions associated with the GPIO will automatically update to reflect the new name you assign.
