Datasheet
Emulator User’s Guide for MPLAB X IDE
DS52085A-page 64 2013 Microchip Technology Inc.
To run this application:
1. Create a project using the Project wizard:
a) Select a supported device.
b) Select REAL ICE or ICD 3 as the hardware tool.
c) Use the “MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs” or the
“MPLAB XC16 C Compiler” as the language toolsuite.
2. Select File>New File
to create and name a new C Source File. In the Editor win-
dow that opens, add the previous code and save.
3. Right click on the project name in the Projects window and select “Properties”. In
the Project Properties window, click on “pic32-gcc” under “Categories”. Under
“Option Categories”, select “General” and check the “Enable App IO” checkbox.
4. Build the project (Right click on the project name and select “Build”).
5. Select Window>Debugging>PIC App IO
to open the Application In/Out window.
6. Click on the “Properties” button (on the left of the window) to launch the Set App
IO Properties dialog. Under “Capture” click “On”.
FIGURE 6-4: SET APP I/O PROPERTIES
7. Debug Run or Run the project.
8. Enter an text value in the Input text box. Hit Enter.
9. View the output in the Output text box.
FIGURE 6-5: APP IN/OUT WINDOW