Integrated motor encoders

Need help. I am trying to use integrated motor encoders on my claw to keep the claws running about the same time so that one doesn’t get off by itself. I am using easy-c. I know i need some less than or greater than values but that’s the extent of my knowledge. I would appreciate any help that I can get. Thanks All.