DM163035 Microchip Technology, DM163035 Datasheet - Page 30

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 26
TM
FIGURE 3-11:
The Timing() delay routine is shown in Figure 3-12.
FIGURE 3-12:
Two variables are used delay_var1 and delay_var2. The delay_var2 is decre-
mented by 1 each time delay_var1 is decremented from 45571 to 0. These values
have been determined through trial and error using a test procedure detailed in the
“Timers: Timer0 Tutorial (Part 1)” (DS51682.pdf) included on the PICDEM™ Lab
Development Kit CD. This delay ties the up the processor for 1 second when using the
4 MHz internal oscillator.
The Initialize() configures the PORTC as follows:
• PORTC
Lab Development Board User’s Guide
- Set all bits in the PORTC register HIGH
- Configure all PORTC pins as digital outputs
Loop Forever
MAIN() SOFTWARE CONTROL LOOP FLOWCHART FOR
LAB 2
TIMING() DELAY ROUTINE FLOWCHART FOR LAB 2
YES
Create two 8-bit variables:
• delay_var1 = 45571
• delay_var2 = 3
delay_var1 = 45571
delay_var2 - 1 = 0
delay_var1 - 1 = 0
Do_Outputs()
Initialize()
Timing()
main()
TIMING()
?
?
NO
NO
YES
© 2009 Microchip Technology Inc.
END

Related parts for DM163035