DV164120 Microchip Technology, DV164120 Datasheet - Page 51
![KIT STARTER PICKIT 2](/photos/9/26/92655/dv164120_board_sml.jpg)
DV164120
Manufacturer Part Number
DV164120
Description
KIT STARTER PICKIT 2
Manufacturer
Microchip Technology
Series
PICkit™ 2r
Type
Microcontrollerr
Datasheet
1.PG164120.pdf
(86 pages)
Specifications of DV164120
Contents
Board, PICkit™ 2 Programmer, Cable, CD
Processor To Be Evaluated
PIC family
Data Bus Width
8 bit, 16 bit, 32 bit
Core Architecture
PIC
Ic Product Type
Programmer
Kit Contents
Hardware, Cables, Literature And Software
Ic Interface Type
USB
Supported Families
PICmicro
Rohs Compliant
Yes
Development Tool Type
Hardware / Software - Starter Kit
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
For Use With
8/14/20-pin PICmicros
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DV164120
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