Quote:
Originally Posted by arun4444
Connected pin 1(encoder) to DigitalI/O in digital sidecar Pin Signal 1
Connected pin 2(encoder) to DigitalI/O in digital sidecar Pin Power 1
Connected pin 3(encoder) to DigitalI/O in digital sidecar Pin Signal 2
Connected Pin 5(encoder) to DigitalI/O in digital sidecar Pin ground 3
|
Why are you using the ground pin on a third DIO port, instead of one of the ports you're already connecting to?
If you measure across encoder pins 2 and 5, is it actually receiving 5 volt power?
Is there a reason you initialize the encoder object with DIO 2 and 1 in that order, instead of 1 and 2?