Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
Naming an instance to match it's purpose is more useful. If the servo is for pan or tilt, name it accordingly.
I notice that you don't have any variables named myint or myfloat or mybyte or mychar, so myservo needs to go, too.
if (LSright < LSleft&& pos>0) // while right is less than left pos goes down 1
Consistent indenting is good. Consistent spacing is good.