(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,