updated the encoder wire pins

only 3 lines were changed in the encoder declaration lines