Introduction - If you have any usage issues, please Google them yourself
An example of a detection incremental encoder written on STM32F103RBT6. Has been tested, can use. 4000 pulse counts, such as the need for a greater pulse limit can be modified by ourselves.