Home > other >  This course design is really is too difficult, can help to get the super big...
This course design is really is too difficult, can help to get the super big...

Time:12-01

Stopwatch design requirements: (1) the timing range: 0 ~ 59 minutes, 59.99 seconds, integer four and two decimal places, digital tube display, with eight digital tube, display "points" (2), respectively, ":" (1), "seconds (integer)" (2), ". "(1) and" seconds (decimal) "(2), (2) set up a separate button is used as the start/stop control, the key to press the start timing, when the timing accuracy of 10 milli seconds, and then click the stop time, the digital tube display value is the value of timing, (3) set up a separate button is used to reset reset, prepare for the next time,
(4) set up two separate button is used to store data and display the data stored respectively, after the stop time, press the store button, the data can be stored in the slice data memory (RAM), can save 5 sets of data, each group of data of 3 bytes, respectively, second (integer) and second (decimal) accounts for each 1 byte, when press the store display button, 1 set of data will be stored and displayed on the digital tube out
To, and then press the button, display the next set of data, if continuous press this key, displayed a stored data one by one cycle, press reset reset button to reset the exit,
O bosses give directions

CodePudding user response:

Is this timer IO port interrupt to implement?
Press the start/stop buttons, IO external interrupt, timer is used to, 10 milliseconds to produce a timer interrupt, update the display time,
Press the start/stop buttons, produce IO external interrupt, stop the timer interrupt,

CodePudding user response:

Can a stopwatch, including timing time changes,

CodePudding user response:

Write their own right,,,

CodePudding user response:

EEPROM at 51 cheat chicken egg inside the document can be a copy of the example of,
  • Related