Introduction - If you have any usage issues, please Google them yourself
Based on the stm32f407 capacitive touch button, through the input capture function to do a capacitive touch, will use TIM2 channel 1 (PA5) to do the input capture, and to achieve a simple capacitive touch button, through the button to control the DS1 off.