Смотреть видео: debounce - How to connect an EC11E rotary encoder to a microcontroller? - Electr Распайка энкодера