Tutorial 10: Using 16Bit Timer1 as 8Bit Timer

Download Tutorial

Timer 1 is a 16 bit timer, in Timer Mode the 16Bit timer can be used as an 8 bit timer resource by preloading the High Register with 256, hence calculations and techniques made for an 8bit Timer0 can be used with the 16Bit Timer1.

Description

Download FEATURE62X_Tutorial10.zip and unzip into folder <your path>\Tutorial 10

Filename Version Description
tut10.pjt 1.0 MPLAB Project
tut10.asm 1.0 PIC16F628 Assembler code
tut10.hex 1.0 Precompiled HEX
tut10.lst 1.0 Precompiled LST
tut10.vbb 1.0 Virtual Breadboard simulation

 

Demonstrates

Timer1 Timer Mode

Timer1 Overflow Interrupt

Timer1 Register Load

Timer1 PreScalar