[SOLVED] --- Encoder very easy code --- new version ---
Here my new code to use encoder with STM32First search on datasheet 2 pins with TIMx_CH1 and TIMx_CH2.In my case was a STM32F469 and I have used PC6 and Pc7 with TIM8_CH1 and TIM8_CH2.After search in the file stm32f4xx_hal_gpio_ex.h the relative AFx ...