Visitor II
October 14, 2020
Question
I have a problem with configuration the TIM1-ETR in stm32f1
- October 14, 2020
- 0 replies
- 708 views
I want to use the external clock mode 2 but it dose not work ,configure the PA12 that connect to TIM1-ETR AND make push button pull down to send pulses to that pin(PA12) to detect high edge and make up count to the variable "upCount" in the code ,i thought there is a missed in the configuration ,can any one help me to find the wrong in the code