←
How to use a quadrature encoder - SparkFun Electronics