Introduction - If you have any usage issues, please Google them yourself
Running under the STM32, the key to scan the program, there is jitter function, there is the key translation function, there is the initialization timer function.
Just a little change, you can use it.