Code:
if(operator.getRawButton(6)) {
Pulley.set(-1.0);
} else if(operator.getRawButton(3)) {
Pulley.set(1.0);
} else {
Pulley.set(0);
}
if(operator.getRawButton(4)) {
Scoop.set(-1.0);
} else if(operator.getRawButton(5)) {
Scoop.set(1.0);
} else {
Scoop.set(0);
}
if(operator.getRawButton(1)) {
Window.set(-1.0);
} else if(operator.getRawButton(2)) {
Window.set(1.0);
} else {
Window.set(0);
}
One thing just for future reference. Convention when writing java is to name your variables with a lowercase letter for the first letter. Also, can I see the code you used to set up the motors? What is the light doing on the motor controller when you try to run it?
P.S. I didn't change anything in the code, just reorganized it a bit.