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
SEARCH is a sequential search from the starting of the table. SEARCH ALL is a binary search, continually dividing the table in two halves until a match is found. SEARCH ALL is more

As per Nyquist criterion the sampling rate is (A) 2fs                                                  (B) (1/2)fs (C) (1/2fs)

What is a co-processor? What is its use in a typical microprocessor based system. 8087 NDP (numerical data processor) is also called math co-processor which is used in parallel

Write a script that will first initialize a string variable that will kept x and y coordinates of a point in the form 'x 3.1 y 6.4'.  Then, use string manipulating functions to ext

Write short note on code optimization. Code optimization: It is the optional phase designed to enhance the intermediate code therefore the Ultimate object program runs quicke

How do you make programs portable on Unix and Does under such circumstances? Constructors are invoked themself when the object is created for a class. There may be any number o

Q. Explain Fixed Point Representation? The fixed-point numbers in binary has a sign bit. A positive number has a sign bit 0 whereas negative number has a sign bit 1. In fixed-p

Explain the principle of duality with examples.

Ramps A network planning method that makes the most well-organized use of manpower, materials and cash resources between several projects going on concurrently.

When we initialize the form at that time if we require to set any variable's value then we can set it by defining in constructor. Constructor's name always similar as class name an