Question about 3-wire servo

Alright, so I am programming a 3-wire servo to rotate 90 degrees from a vertical position to a horizontal position. Like this:

if(vexRT[Btn5U] == 1)//if button 5U is pressed on remote #1
motor(rotateclaw) = 127;//servo will rotate to pick up skyrise
else if(vexRT[Btn5D] == 1)//if button 5D is pressed on remote #1
motor(rotateclaw) = 0;//servo will rotate to pick up cubes

…but the furthest the motor value will go is 127, (in the debugger window) but that doesn’t rotate it 90 degrees. When the power is off I am able to move the servo to where I want it to without it stopping, cause I know it only has a very small range of movement. On the VEX site it claims it moves 100 degrees, and it does if you move it with your hand, but how do you get it to move farther in the program? Thanks in advance.

I am not completely sure what you are trying to do, but it seems like you want to make the servo move to one spot when one button is pressed and to another of the other button is pressed.

Here is one way you might find easier, and it allows it to stop at other spots if you let go of the button.

if(buttonUP == 1 & Degrees < 90)
  servo = 127
  if(buttonDOWN == 1 & Degrees > 0)
    servo = -127

Use -127 rather than 0.

oh, I get it, thanks jpearman!!