Build an MPLAB® X IDE Project and Program a Device
When a project is opened in MPLAB® X IDE, it can be modified or just built and programmed into an MCU device. The example project shown here is written to light an LED on the Microchip Curiosity HPC Board that contains a PIC16F18875 MCU.
Project Files
The project files are shown in the Project window of MPLAB X IDE. Under the Source folder, the main.c source file is shown.
View the Source File
Double-clicking on the main.c file opens it in the Editor window where the source code can be edited.
Build the Project
Click on the Build icon
Project Information
The amount of memory used along with details of the compiler level used and other information about the project are shown in the Navigator window.
Program the Device
The final step is to program the device. The Curiosity HPC Board has the programmer built-in on the left side of the board. Clicking on the Make and Program Device icon
Within a short time, the Output window will show the "Programming/Verify Complete" message and the LED will be lit on the Curiosity HPC Board.