how you connect the encoder? Pull-up, PUll-down resistor are there??