Step 3: Generate Harmony Code

Last modified by Microchip on 2024/02/06 09:28

Expand the source file folders in the Projects pane. Notice that these are the files from Lab 3 that you copied to this directory.

Project files before

Back to Top

Click on the Generate Code button as shown in the accompanying figure. Notice the Merging Strategy option.

Generate button

Back to Top

Note the new decoder folders added to the lab.

Project files after

Back to Top

Save all files and build the code. To do this, click on the Clean and Build icon and verify the project builds successfully.

At this point, you can debug and step through the application. Effectively, you have a running MPLAB® Harmony system. However, it is not yet ready to do anything. Next, you will develop your application state machine logic and make sure the system does what you want it to do. You’re ready to start implementing the application now.

Back to Top