Introduction - If you have any usage issues, please Google them yourself
By using the timer interrupt resources of single chip microcomputer, as long as the operation the logical expression is completed to shake. This method is of high efficiency, no consumption of machine and easy implementation.