Download MPLAB IDE User`s Guide

Transcript
Getting Started with MPLAB IDE: A Basic Tutorial
Next, press the Step Into icon or select Debugger>Step Into to single step to the code
at Main.
FIGURE 2-20:
DEBUG>STEP INTO
In order to see if the code is operating as intended, sending incrementing values out
PORTC, watch the values being sent to PORTC. Select View>Watch to bring up an
empty Watch Window. There are two pull downs on the top of the Watch Window. The
one on the left labeled “Add SFR” can be used to add the Special Function Register,
PORTC, into the watch. Select PORTC from the list and then click Add SFR to add it to
the window.
FIGURE 2-21:
 2005 Microchip Technology Inc.
WATCH - SELECT PORTC
DS51519A-page 41