How do I connect the VEX Robotics Optical Shaft Encoder to the Arduino Uno and create code that reads this sensor and display the values on the Serial Monitor? The encoder wheel has 90 slots and there are two output channels. I think that the outputs are 90 degrees out of phase. The encoder unit has IR LEDs and IR sensors.