anbao 2017-06-03 21:21:50
Description: 1 Basic part:
(1) use the 51 P1 port as the data output port, and the P2 port is the co Yin digital tube bit selection signal, and the timer 0 is used to realize the timing and display of seconds.
(2) after power on reset, display 00.
(3) press the S2 button and start counting. Use addition counting form. It stops at 60. Buzzer ringing.
(4) stop after 2 seconds, and resume 00.
(5) repeat the 1-4 procedure when the S2 key is pressed again.
Plat: C-C++ | Size: 257KB | Downloads: 3