Step 5: Build, Program and Observe the Output
Hardware Setup
Connect the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit to the host PC using a Type-A male to Micro-B USB cable. Plug the cable into the Micro-B USB (Debug USB) port on the evaluation kit. Connect the pins V_EDGE and PA02 (ADC Channel 0).

Open the Project Properties, under the Connected Hardware Tool section, select the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit. Then click Apply and OK.

Building the Project
To build the project, click the Clean and Build drop-down arrow and select Clean and Build Main Project.

Observe that the project has compiled and loaded successfully, as indicated by the BUILD SUCCESSFUL message in the output window.

Programming and Observing the Output
Open Tera Term or any other terminal. Select Serial and confirm whether the connected Port is detected. Then click Ok.


Select Setup > Serial port in Tera Term. Change the baud rate Speed to 115200.


Click the Make and Program Device Main Project button to program the project onto the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit.

Once the programming is completed, the LED will be toggled (Task 1).

In Tera Term, the ADC values are printed via UART (Task 3).
