5.2 Creating a Simple Application Demonstration Using MPLAB Harmony v3

This section provides a brief overview on creating a simple PLIB demonstration. For step-by-step migration details, refer to these documents :

The following steps contain high-level information for creating an application demonstration in MPLAB Harmony v3:

  1. Launch MPLAB X IDE, and then select File > New Project.
  2. Choose Project: Under Categories, select Microchip Embedded and for Projects, select Application Project(s).
  3. Select Device: select the right device to be used and Tools.
  4. Select Compiler: Choose the compiler version.
  5. Configuration database setup: Select the MPLAB Harmony repositories to be loaded for the project.
  6. The MPLAB Harmony project will be opened along with the MPLAB Code Configurator. By default, the project graph will be opened in which a few modules are added to the Project.
  7. Add, connect, and configure the modules. The user can add peripherals required for the application. Connect them in the project graph and configure them in the UI tree per the application requirement.
  8. After adding and configuring the modules, regenerate the code along with main and application source files.
  9. The user can write application logic and implement the application functionality.