Controlling 2 servo motor and 2 potentiometer problem

Hello Gent.

I'm using UNO R3 for 2 servo motor and control by 2 potentiometer. I have problem about controlling servo motor because when I adjust one potentiometer but another servo motor activate also. How can I solve this problem.

Remark: I was used code for arduino library servo knob.

Thanks.
chet_no

chet_no:
How can I solve this problem.

Remark: I was used code for arduino library servo knob.

Start by posting the code you're actually using: it's obviously no the original knob code since that only has one of each (servo and pot) so you must have changed it somehow?