Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to save or retrive a lap time in stop watch using VHDL code ?

Status
Not open for further replies.

Maddy Mho

Newbie level 2
Joined
May 10, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
Dear friends

I am working on my final project stopwatch with lap time. I've used K13 switch to START and STOP the timer and L13 to RESET the stopwatch.

Q1. How do i save the lap time?
Q2. Can someone give me idea on how to save or retrieve the lap time using a switch or button?
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,486
Helped
4,308
Reputation
8,621
Reaction score
4,262
Trophy points
1,393
Activity points
129,197
Hi,

You start the stopwatch
With the next "Start" you srart the new lap whil saving the data from the previous lap.

Klaus
 

Maddy Mho

Newbie level 2
Joined
May 10, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
13
Dear Klaus

Your reply is very helpful and I appreciate it.
Do i need to assign 'N' switches to save 'N' laps?
Can you please help me on how to save or retrieve the old lap ( It would be helpful, if you can be bit more specific)?

Kind Regards
Mohan
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,486
Helped
4,308
Reputation
8,621
Reaction score
4,262
Trophy points
1,393
Activity points
129,197
Hi,

I don't think many keys are useful.

The first time you press START you start the stop watch.
Every new press of START starts a new lap and safes the time ( or timesramp) of the last lap.

I can't be more specific, because i don't know what hardware you use.
What memory do you use, and what interface, display?
is it a wrust type watch? What data format do you use?
What resolution?
How do you want to recall the data?

Klaus
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top