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
Which scheduler selects processes from secondary storage device? Ans. Medium term scheduler selects processes from secondary storage device.

Internal Path length It is described as the number of node traversed while moving by one particular node to any other node in the tree.

In what way the protection fault handler concludes? After finishing the implementation of the fault handler, it sets the change and protection bits and clears the copy on write

Question : a) Describe the following modes of wave propagation: - Line of sight - Ground waves - Skywaves b) Why can waves with a very low frequency be used for submar

Define buffering.  A buffer is a memory area that keeps data while they are transferred among two devices or among a device and an application. Buffering is done for three reas

Any function can be expressed in a truth table.A truth table lists all possible combinations ofinputs and gives the output produced in eachcase.Truth tables must include all combin

What are the Applications of Linked List are a) Fixed block storage allocation b) garbage collection

Q. Illustrate the Cache Memory Operation? It comprises a copy of a part of main memory contents. When a program is running and CPU tries to read a word of memory (instruction o

Explain Direct Memory Access. A modest enhances in hardware enables an IO device to transfer a block of information to or from memory without CPU intervention. This task needs

What are threaded binary trees? A Threaded Binary Tree is a binary tree in which each node that does not have a right child has a THREAD (in real sense, a link) to its INORDER