Step 6: Include application specific source code and files
Copy the following application source files into the folder containing the project's source files:
Copy them from this folder:
to this one:
Add app_usb_audio_task.c and app_display_task.c to the Source Files/app folder (in the MPLAB X IDE "Projects" pane) by right clicking and selecting Add Existing Item….
Add app_usb_audio_task.h and app_display_task.h to the Header Files/app folder by right clicking and selecting Add Existing Item…
The files under the project should look like this:
Open the file app.c (in the MPLAB X IDE "Projects" pane under the Source Files/app folder) to add the initialization routines APP_DISPLAY_Initialize and APP_USB_AUDIO_Initialize in APP_Initialize.
Add the audio and display task functions APP_USB_AUDIO_Tasks and APP_DISPLAY_Tasks in APP_Tasks.
Save all the files before closing.
Table of Contents