Step 5: Build, Program and Observe the Output

Last modified by Microchip on 2026/06/26 07:37

Build, Hardware Setup and Program

Build the project by clicking the drop-down arrow next to the Clean and Build icon, then select Clean and Build Main Project. Verify that the project builds successfully.

Clean and Build menu

At this point, you are ready to start implementing your application on the hardware. Check whether the lab builds and programs successfully, and verify the build results in the output dialog box.

The PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit allows the Embedded Debugger (nEDBG) to be used for debugging. Connect the Type-A male to USB Type-C® cable to the debug USB port to power and debug the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit.

cable connected to PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit

In MPLAB® X IDE, navigate to File > Project Properties, and ensure that PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit EDBG is chosen as the debugger under Connected Hardware Tools, and XC32 is selected as the Compiler Toolchain for XC32.

Project Properties window

Program your application to the device by clicking on the Make and Program button as shown in the accompanying image.

Make and Program icon

Observe the Output

Observe the LED1 on the PIC32CM LS00 Curiosity Nano+ Touch evaluation kit toggles every time the switch is released.

PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit light

Back to Top