modify the encoder input to PullUp