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
Using a combination of uniselectors and two motion selectors draw a schematic of thousand line exchanges. The schematic diagram for such an exchange is demonstrated in Fig. All

Explain Yet another Compiler-Compiler. YACC uses for "Yet another Compiler-Compiler": Computer program input usually has some structure; actually, all computer programs which

Q. Components of magnetic disk? Disk itself is mounted in a disk drive that comprises arm which is a shaft that rotates disk and the electronics required for input and output b

Draw the ISDN address structure and explain how the addressing works? Address Structure: The ISDN address structure is demonstrated in figure. ISDN number part has a maximum

Problem (a) Using a labelled diagram of an Instruction-Execution cycle, describe how a CPU executes single machine instructions by referring to the five main operations.

Q. Show a string in assembly language? MOV AH, 09H MOV DX, OFFSET   BUFF INT    21H Here data in input buffer stored in data segment is intended to be displayed on mo

Perceptron training: Here the weights are initially assigned randomly and training examples are needed one after another to tweak the weights in the network. Means all the exa

Problem: (a) IEEE802.11 supports two types of network architecture, describe these architectures with the support of diagrams detailing the network components. (b) The MAC

Question: (a) Comment on the general structure of the IAS Computer, illustrate your answer using a diagram. (b) (i) Define CPU time. (a) (ii) A program runs in 10

what is interference of light explain the nessicity of coharent source for obtaining sustain interference pattern