Hi PeterH,
Sorry, I didn't explain myself very well, the servo is moving but at random and not following me.
When I came up with the IF THEN part I was try to achieve something like 'sensor A is 6000, sensor B is 4000, A - B = 2000. So sensor A - 2000 = 4000.' However obviously I can't take 2000 of a sensor to make them even, I have to move the servo till they're are even which is where I've gotten stuck. I can now see the flaws in my code, however I'm stuck on how to fix the problem.
Thanks again,
Jack