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:
- Launch MPLAB X IDE, and then select File > New Project.
- Choose Project: Under Categories, select Microchip Embedded and for Projects, select Application Project(s).
- Select Device: select the right device to be used and Tools.
- Select Compiler: Choose the compiler version.
- Configuration database setup: Select the MPLAB Harmony repositories to be loaded for the project.
- 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.
- 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.
- After adding and configuring the modules, regenerate the code along with main and application source files.
- The user can write application logic and implement the application functionality.