i am using a rotary encoder as a feedback of motor speed to PIC microcontroller(PIC-16f877A), the output of the encoder is in the form of open collector output, do i need any interface for connecting the encoder to I/O pin of the PIC? thanks for guidance, i m new to PIC