Hi
I want to use a printer-encoder to read the position and direction the encoder has 5 wires (A,B,C,Vcc,GND) which the A has two amount when the encoder is turning (0 and 1) the B has just one amount (1) the C has one amount (0) I think this encoder is a single-phase encoder ,I used two-phase encoder before and I know how to write a code to read the position and direction of this encoder but for single-phase one I have no idea