DM163035 Microchip Technology, DM163035 Datasheet - Page 76

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 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 DM163035