Using ch2 and ch4 as input capture
Posted on March 18, 2015 at 13:44 Hello, I'd like to use channel 2 and channel 4 of TIM2 as input capture. Channel 2 work fine, but channel seems returning the timer counter. Here's the code: GPIO_InitTypeDef GPIO_InitStructure; TIM_...