Rotary Encoder Gray Code Value — Coding Problem — CareerVerse