[SOLVED] -- very simple encoder ---
Here my simple code to use the encoder on STM32F746.I have used the PI2 and PI3 of the STM32F746G-DISCO for input and volume control on an external DAC.Probably someone could reduce the lines of code and obtain the same result.unsigned int Enc_dir;...