[SOLVED] --- Encoder very easy code ---
Here the code to read encoder.unsigned int Enc_dir; unsigned int save_a = 0, save_b = 0; void BSP_Encoder_Init() { GPIO_InitTypeDef gpio_init_structure; __HAL_RCC_GPIOF_CLK_ENABLE(); gpio_init_structure.Pin = GPIO_PIN_8; gpio_in...