DM163035 Microchip Technology, DM163035 Datasheet - Page 46

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 42
TM
FIGURE 3-21:
The RA2 pin voltage is then checked again. If still low, a push button press is indicated
and the direction bit variable is toggled. Otherwise, the direction value stays the
same.
The Decide() then uses the current direction value to determine which direction
to shift the contents of the LED_Output global variable. The Decide() software
flowchart is shown in Figure 3-22.
Lab Development Board User’s Guide
TMR0 preload value determined as follows:
Desired Timer0 Overflow Rate = (4/F
5mS = 1μSeconds x (256 – TMR0 preload value) x 32
TMR0 preload value = 256 –
Timer0 configured in the Initialize() as fol-
lows:
• Using the internal F
• TMR0 increments on low-to-high transition
• Prescaler configured for 1:32
source
of F
OSC
/4
OSC
DELAY_5MS() SOFTWARE FLOWCHART FOR LAB 5
/4 (4MHz/4) clock
1μSeconds x 32
OSC
5mS
) x number of counts to overflow x prescaler
= 99.75 rounded to 100
Clear the Timer0 overflow
Preload the Timer0 result
register (TMR0) with 100
(i.e., TMR0 overflow)
Delay_5mS()
flag (T0IF)
T0IF = 1
END
?
YES
© 2009 Microchip Technology Inc.
NO

Related parts for DM163035