DM163045 Microchip Technology, DM163045 Datasheet - Page 76
DM163045
Manufacturer Part Number
DM163045
Description
PICDEM Lab Development Kit (with PICkit 3) General Purpose
Manufacturer
Microchip Technology
Series
PICDEM™r
Type
MCUr
Datasheet
1.DM163035.pdf
(96 pages)
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
Company:
Part Number:
DM163045
Manufacturer:
MICROCHIP
Quantity:
12 000
- Current page: 76 of 96
- Download datasheet (2Mb)
PICDEM
DS41369A-page 72
TM
EXAMPLE 4-4:
2. Copy/paste the code in Example 4-5 into the Initialize() over the code
Lab Development Board User’s Guide
void interrupt TMR0_ISR(void)
{
}
from the previous lab:
//Check if Timer0 interrupt has occurred
if(T0IE&&T0IF)
{
}
else PORTC = PORTC;
//if so, clear the interrupt flag
T0IF = 0;
//Turn off Timer1 (stop counting)
TMR1ON = 0;
//Assign the upper 4-bits of the 16-bit
//result to PORTC to light the LEDs connected
//RC0,R1,RC2 and RC3
PORTC = TMR1H>>4;
TMR0 = 10;
//Clear the Timer1 register pair
TMR1L = 0;
TMR1H = 0;
//Turn Timer1 back to start counting again
TMR1ON = 1;
TMR0_ISR CODE FOR LAB 3
© 2009 Microchip Technology Inc.
Related parts for DM163045
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: