 When only USB is connected the encoder shows position and loops values within a range. But when power is connected to the USB: 
When only USB is connected the encoder shows position and loops values within a range.
But when power is connected to the USB:
