PIC Tips: Generate MHC Configuration File
After completing all configurations using MHC, click the Generate button in the MPLAB® Harmony Configurator window. MHC will save the configuration as a *.mhc file as the configuration file for the current project, and automatically generate a C source file based on the configuration and add it to the current project. Next, users only need to add their own application code to APP_Task to realize the logical function of the user's desired application.