Printer optical encoder for steering wheel

when I wire + and GND like in picture, the sensor's LED lights up.
there are three pins left, now I need to know which two of them are going to arduino's 0 and 1 pins.