DV164121 Microchip Technology, DV164121 Datasheet - Page 51

KIT PICKIT 2 DEBUG EXPRESS

DV164121

Manufacturer Part Number
DV164121
Description
KIT PICKIT 2 DEBUG EXPRESS
Manufacturer
Microchip Technology
Series
PICkit™ 2r
Type
Microcontrollerr
Datasheets

Specifications of DV164121

Contents
Board, PICkit™ 2 Programmer, Cable, CD
Processor To Be Evaluated
PIC family
Data Bus Width
8 bit, 16 bit, 32 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC Micro® MCU
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DV164121
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DV164121
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2008 Microchip Technology Inc.
FIGURE 4-23:
12. Select File>Save to save your changes.
13. You must rebuild the project and reprogram the device for the changes to take
14. Select Debugger>Run to the run the program. Again, the program will stop after
15. Examine the values in the Watch window. This time, ADCON0 should be 0x41
FIGURE 4-24:
16. Right click on the line of code that marked by the breakpoint and select
17. Select Debugger>Run to run the program real-time. Turn the potentiometer
The source code in this tutorial contained only one bug. However, real code may have
more. Using MPLAB IDE with PICkit 2 debugging functions, you can successfully find
and fix problems in your code.
effect. Select Project>Build All to rebuild the project and then select
Debugger>Program to reprogram the device using the PICkit 2.
it reaches the breakpoint.
(Figure 4-24).
Remove>Breakpoint or double click on the line to remove the breakpoint.
(RP1) to change the value displayed on the LEDs. Now it works!
A/D MODULE CODE
ADCON CORRECT VALUE
DS51553E-page 47

Related parts for DV164121