Rotary Encoder

ps. the resistors are 10k. Thanks