How to Use Rotary Encoders and Interrupts With Your Arduino Projects