DM163035 Microchip Technology, DM163035 Datasheet - Page 28

KIT DEVELOPMENT PICDEM LAB

DM163035

Manufacturer Part Number
DM163035
Description
KIT DEVELOPMENT PICDEM LAB
Manufacturer
Microchip Technology
Type
MCUr
Datasheet

Specifications of DM163035

Contents
Board, Cable, Components, CD, PICkit Programmer
Processor To Be Evaluated
PIC10F, PIC12F615, PIC16F616
Data Bus Width
8 bit
Operating Supply Voltage
1.3 V to 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC10, PIC12, PIC16
Silicon Core Number
PIC10F, PIC12F, PIC16F
Silicon Family Name
PIC10F2xx, PIC12F6xx, PIC16F6xx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC10F206, PIC16F690, PIC16F819
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PICDEM
DS41369A-page 24
TM
12. Copy/paste the code in Example 3-2 into the Do_Outputs() section labeled:
EXAMPLE 3-2:
13. Copy/paste the code in Example 3-3 into the main() section labeled:
EXAMPLE 3-3:
The project is now ready to compile and download to the PIC16F690.
14. Compile the project ensuring no errors.
15. Connect the PICkit™ 2 Programmer/Debugger to an available USB port on the
16. In the MPLAB™ IDE Project Workspace, select
17. The PICkit 2 Programmer/Debugger toolbar should now be visible in the
Lab Development Board User’s Guide
//ADD DO_OUTPUTS CODE HERE
//ADD MAIN CODE HERE
PC and then to the ICSP™ connector ICSP1 (J6) on the PICDEM Lab Develop-
ment Board. The PICkit 2 should recognize if a power source is not connected to
the PIC16F690 and provide target power.
Programmer>Select Programmer>PICkit 2.
workspace as shown in Figure 3-9.
RC0 = 1;//Make RC0 (pin 16) HIGH (approx. Vdd)
RC1 = 0;//Make RC1 (pin 15) LOW (approx. Vss)
RC2 = 1;//Make RC2 (pin 14) HIGH (approx. Vdd)
RC3 = 1;//Make RC3 (pin 7) HIGH (approx. Vdd)
RC4 = 0;//Make RC4 (pin 6) LOW (approx. Vss)
RC5 = 1;//Make RC5 (pin 5) HIGH (approx. Vdd)
RC6 = 0;//Make RC6 (pin 8) LOW (approx. Vss)
RC7 = 1;//Make RC7 (pin 9) HIGH (approx. Vdd)
Initialize(); //Initialize the relevant registers
while(1) //Code within curly braces will loop forever
{
}
Do_Outputs(); //Perform any outputs
DO_OUTPUT() CODE FOR LAB 1
MAIN() CODE FOR LAB 1
© 2009 Microchip Technology Inc.

Related parts for DM163035