Page 1 of 1
millisecond stop watch
Posted: Mon Nov 13, 2017 1:57 am
by meganettronics
sir, i need millisecond stopwatch using 18f4550.please help.
Re: millisecond stop watch
Posted: Mon Nov 13, 2017 11:10 am
by Benj
Hello,
We have a stopwatch example here using 7-seg displays.
http://www.flowcode.co.uk/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.