User manual

Step-by-Step Procedures to Setup, Build, and Run a Demo Project
© 2008 Microchip Technology Inc. DS61146B-page 35
Also, if you look at the Explorer 16 board, you should see the LED D9 lit on.
This shows that the PIC32 Explorer16 demo board and the MPLAB IDE operate
correctly.
We just made our first “Hello World” program for PIC32.
There are many other things that you can do in the MPLAB IDE to debug your program.
For example, you can notice in that by hovering the mouse over the variable “nc” we
can see its actual value (which should be the number of characters sent to the serial
port by the putsUART2() function).
Other MPLAB IDE debug features:
Watch window: you can add variables of peripheral SFRs to the watch window
and monitor their values
Complex Breakpoint manipulation
All the useful debug commands: step into, step over, etc, using both the C Source
window and the disassembly listing window.
Profile your code execution and calculate delay times between different points in
your program.
We presented here the essential steps for getting started with PIC32 using the MPLAB
IDE. You are now ready to continue exploring the capabilities of PIC32 and MPLAB
IDE. For further information about PIC32 please see the documentation list provided in
this document. For more information about the MPLAB IDE please see the MPLAB
IDE Quick Start Guide” (DS51281) available on our site at www.microchip.com
following the Design link.