We wired up a PLG per the wiring diagram with 1k-ohm resistor between yellow and blue and a separate 1k-ohm resistor between green and blue. We split the brown wire into 2 leads and similarly with the blue lead. Then we connected 1 brown as +5, 1 blue as ground and yellow/green to each of two connectors and plugged them into DIO 0 & 1. We ran the motor but we’re not seeing any readings from the encoder.
I used a multimeter and checked all the wiring. As far as I can tell, there are no shorts and everything is connected as it should be.
In the code, we are simply constructing an Encoder passing in the two DIO channels. Readings from the Encoder are all 0.
Any suggestions would be greatly appreciated.