Rotary Encoder Transition Sequence — Coding Problem — CareerVerse