Motor encoder help

My team is useing two motor encoders on our base for autonomous but they are not working properly. Our programmer says they are only giving values of 1,0 and -1. The lights on the encoders are orange not green we are not to sure what that means. Can anyone help?