millisecond stop watch

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

Post Reply
meganettronics
Posts: 1
Joined: Mon Nov 13, 2017 1:49 am
Contact:

millisecond stop watch

Post by meganettronics »

sir, i need millisecond stopwatch using 18f4550.please help.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: millisecond stop watch

Post by Benj »

Hello,

We have a stopwatch example here using 7-seg displays.
http://www.matrixtsl.com/wikiv7/index.p ... :_Segment)

I would start by creating a timer interrupt with a 1ms interrupt rate. You may have to play with your oscillator speed to get bang on 1ms. Timer 2 is probably the most configurable timer.

Post Reply