rotary encoder switch schematic