DM163045 Microchip Technology, DM163045 Datasheet - Page 48

no-image

DM163045

Manufacturer Part Number
DM163045
Description
PICDEM Lab Development Kit (with PICkit 3) General Purpose
Manufacturer
Microchip Technology
Series
PICDEM™r
Type
MCUr
Datasheet

Specifications of DM163045

Contents
Board, PIC kit 3
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
PIC Micro® MCU

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM163045
Manufacturer:
MICROCHIP
Quantity:
12 000
PICDEM
DS41369A-page 44
TM
1. Copy/paste the function code in Example 3-17 into the top of the firmware source
EXAMPLE 3-17:
2. Copy/paste the code in Example 3-18 into the Initialize() over the code
Lab Development Board User’s Guide
/*---------------------------------------------------------
---------------------------------------------------------*/
void Delay_5mS(void)
{
}
template under the section marked:
/**SUPPORT ROUTINES*************************************
from the previous lab.
Subroutine: Delay_5mS
Parameters: none
Returns:nothing
Synopsis:Creates a 5mS delay when called
//Make sure the T0IF is cleared
T0IF = 0;
//preload the TMR0 register
TMR0 = 100;
//Sit here and wait for Timer0 to overflow
while (T0IF == 0);
DELAY_5MS() CODE FOR LAB 5
© 2009 Microchip Technology Inc.

Related parts for DM163045