User manual
Step-by-Step Procedures to Setup, Build, and Run a Demo Project
© 2008 Microchip Technology Inc. DS61146B-page 29
FIGURE 5-9: MPLAB IDE MAIN.C FILE
To add the newly created main.c file to our project just right click on the Source Files
folder in the MPLAB IDE MyTestProject.mcp window and select Add File. Browse and
select main.c file from the Projects32 directory.
The linker script that’s needed for this project is selected automatically by the MPLAB
IDE. We don’t need to add any other file to our project.
Note: If the Project window is not open, select View->Project from the top IDE
menu.