How to Use Stepper Motor As Rotary Encoder and OLED Display for Steps