Introduction - If you have any usage issues, please Google them yourself
1, T0 as a timer, a period in P1.0 output square wave signal 2 seconds
2, T1 as a counter to record the number of pulses P1.0 pin
3, the number of pulses in the digital display tube