Rotary Encoder (KY-040) Debounce Circuit Tutorial