Design a simple digital clock., Computer Engineering

Use a timer interrupt to design a easy digital clock.  This clock will count only minutes and seconds, and start at 00:00 every time your program starts.  The show on the screen should read

 mm:ss

The display should be consider on one line, and should only update once a second. There will also be a ticking sound on the speaker once each second.

How should you make the clock?  The specific method you use is up to you.  Here are a few suggestions to get started:

 

  • You can count interrupts to count seconds. For instance, if you use a 32 ms rate, one second is roughly 31 interrupts.
  • When your clock reaches 59:59, reset the whole thing to 00:00 and start counting again.

 

 

 

 

Posted Date: 3/28/2013 3:12:58 AM | Location : United States







Related Discussions:- Design a simple digital clock., Assignment Help, Ask Question on Design a simple digital clock., Get Answer, Expert's Help, Design a simple digital clock. Discussions

Write discussion on Design a simple digital clock.
Your posts are moderated
Related Questions
The typicality of virtual addresses is that: They are longer than physical addresses because total addressed memory in virtual memory is more than actual physical memory.

What is the need of interrupt controller?  The interrupt controller is employed to expand the interrupt inputs. It can handle the interrupt requests from several devices and pe

what are the output deice

WRITE MISS POLICY:   Write allocate   fetch on write   fetch entire block, then write word into block   allocate a new block on each writ   allocate block, but

The Purpose of POINTER phrase is to verify the leftmost position within receiving field where the first transferred character will be kept

What is the difference between the following two lines of Verilog code? #5 a = b; a = #5 b; #5 a = b; Wait five time units before doing the action for "a = b;". Value assig

The Chocolate Delights Candy Company requires to add the following functionality to its cash register: When a customer is checking out, the cash register requires keeping the ne

create a BCD adder combinational ckt. that adds 2 digit BCD inputs

The three main elements of LDB are:- Structure Selections and Database Program.

What are local objects? Local objects (Dev class$TMP) are independent of correction & transport system