Timer1 reset on trigger
Posted on July 07, 2012 at 20:24I found something very funny/weird when using TIM1 to measure the frequency of a signal: Set TIM2 and TIM1 to use the same prescaler (e.g. 8). TIM2 is configured to generate PWM with period 10000, in this case resulti...