Spin the shaft either way and watch channels A, B and Z, the quadcount, the direction and the measured speed.