Build an MPLAB® X IDE Project and Program a Device
When a project is opened inMPLAB® 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 theMicrochip Curiosity HPC Board that contains a PIC16F18875 MCU.
Project Files
The project files are shown in theProject window of MPLAB X IDE. Under theSource folder, themain.c source file is shown.
View the Source File
Double-clicking on themain.c file opens it in theEditor window where the source code can be edited.
Build the Project
Click on theBuild iconProject Information
The amount of memory used along with details of the compiler level used and other information about the project are shown in theNavigator 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 theMake and Program Device iconWithin a short time, theOutput window will show the "Programming/Verify Complete" message and the LED will be lit on the Curiosity HPC Board.








