Introduction - If you have any usage issues, please Google them yourself
1, the circuit: Reference Parallel Interface input and output, adds RS flip-flop circuit, the output control T0 (P3.4) external count input.
Program: an external pulse meter, LED digital display segment plus one.
2, circuit: Reference 2. Parallel Interface input and output, adds RS flip-flop circuit, the output controls the external interrupt-INT1 (P3.3).
Program: for each interrupt on the left of the first LED digital display counts.