Step 9: With MHC, Generate Code
Note: As the code is being generated, MPLAB® Harmony Configurator (MHC) displays the progress.
4
Once this process completes, switch to the MPLAB X IDE window. You may now examine the generated code through the Projects tab. MHC will include all the requisite MPLAB Harmony v3 Framework files and generate the configuration code dynamically based on your MHC selections. MHC will then automatically organize and add the generated code as files and folders to your 32-bit MPLAB Harmony 3 Project.
MHC generates a default template main file (main.c) and application files (app_sensor.c/app_sensor.h) based on your MHC configuration. These will be used for the Sensor Task state machine.
Note: The Peripheral Library (PLIB) files are generated for the Timer, GPIO, EVIC, and CLOCK peripherals. The files for the USB Device Stack Middleware, I²C Drivers, and the Debug System Service are generated as well.
5
At this point, you are ready to start implementing the application code.