参数资料
型号: DV164120
厂商: Microchip Technology
文件页数: 51/86页
文件大小: 0K
描述: KIT STARTER PICKIT 2
产品培训模块: Asynchronous Stimulus
标准包装: 1
系列: PICkit™ 2
类型: 微控制器
适用于相关产品: PIC Micro? MCU
所含物品: 板,PICkit? 2 编程器,线缆,CD
产品目录页面: 658 (CN2011-ZH PDF)
PICkit 2 Debug Express
FIGURE 4-23:
A/D MODULE CODE
12. Select File>Save to save your changes.
13. You must rebuild the project and reprogram the device for the changes to take
effect. Select Project>Build All to rebuild the project and then select
Debugger>Program to reprogram the device using the PICkit 2.
14. Select Debugger>Run to the run the program. Again, the program will stop after
it reaches the breakpoint.
15. Examine the values in the Watch window. This time, ADCON0 should be 0x41
(Figure 4-24).
FIGURE 4-24:
ADCON CORRECT VALUE
16. Right click on the line of code that marked by the breakpoint and select
Remove>Breakpoint or double click on the line to remove the breakpoint.
17. Select Debugger>Run to run the program real-time. Turn the potentiometer
(RP1) to change the value displayed on the LEDs. Now it works!
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.
? 2008 Microchip Technology Inc.
DS51553E-page 47
相关PDF资料
PDF描述
DV164121 KIT PICKIT 2 DEBUG EXPRESS
DV164122 ANALYZER SRL PICKIT W/DEMO BOARD
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
相关代理商/技术参数
参数描述
DV164121 功能描述:电路内置调试器 PICkit 2 Debug Express RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164121 制造商:Microchip Technology Inc 功能描述:ICPICKIT2 PROGRAMMER/DEBUGGER ((NW))
DV164121+TEFLCST3 制造商:Microchip Technology Inc 功能描述:KIT PICKIT2+FLOWCODE-HOME BUNDLE 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, FLOW CODE, PIC, DSPIC 制造商:Microchip Technology Inc 功能描述:ICD, PICKIT 2, DEBUG EXP, FLOW CODE, PIC, DSPIC; Silicon Family Name:PIC12F6xx, PIC16F5xx; Core Architecture:PIC; Core Sub-Architecture:PIC12, PIC18, PIC24; IC Product Type:Debugger / Programmer; Series:PICkit 2 ;RoHS Compliant: Yes
DV164122 功能描述:界面开发工具 PICkit Ser Analyzer RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
DV164126 功能描述:开发板和工具包 - PIC / DSPIC USB Kit w/ PICkit LowPinCount RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: