https://www.zunxshop.com/2024/07/omron-rotary-encoder-arduino.html