Introduction - If you have any usage issues, please Google them yourself
In this code, we use counter 0 as a signal to capture the port. When the P3.4 port to capture the falling edge of time, will increase in the digital control 1. (P1.0 connected to P3.4) In the program code, we give the P1.0 port, an assignment, it Level alternately. Each change, the value of the digital tube will be increased by 1.