Introduction - If you have any usage issues, please Google them yourself
1. Single chip microcomputer INT0 pin connection on a key, keys at one end of the ground, on the other end through resistor connected to the INT0, the counting of button is pressed, and in three eight digital tube display. Another common I/O pins connected a button to reset the count, when the count reaches 999 or reset button press, digital tube is zero, start counting again.
2. The hardware circuit requirements: MCU use P1 mouth driver three seven segment digital tube, a total of anode using P2.0- P2.2 choice for display of digital tube, external interrupt pin INT0 S1 (P3.2) connection on the buttons, used to interrupt count, external pins P3.5 S2 (T1) connection on the buttons, used for zero count.