Datasheet

PIC32MX Starter Kit Tutorial
© 2009 Microchip Technology Inc. DS61144D-page 21
The tutorial program includes the Debug Print Library, which facilitates print functional-
ity. A peripheral library header file for flashing the LEDs is also included. The header
file for print functionality is
db_utils.h.
Depending on the macro definition given in the print header file, the debug print macros
will be expanded. The print functionality in the tutorial is routed to the Output window
on the MPLAB PIC32MX tab in the interface window. In order to achieve this, the
macro definition “PIC32_STARTER_KIT” is added to the MPLAB C Compiler for PIC32
options.
As the program runs, the Output window (Figure 2-14) tracks the progress.
FIGURE 2-14: OUTPUT WINDOW
After printing the menu, the application displays a prompt that requests your input, see
Figure 2-15.
FIGURE 2-15: TARGET IN WINDOW
Type your choice into the Enter Information to be Sent to Target box, and click Send.
The program responds according to the menu entry. Watch the LEDs on the starter kit
board. If your entry is incorrect, the LEDs will toggle once.