millisecond stop watch
Moderator: Benj
-
- Posts: 1
- Joined: Mon Nov 13, 2017 1:49 am
- Contact:
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel