|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Servo programming
Code:
public void operatorControl() {
if(joystick.getRawButton(3))
{
servo.set(1);
}
else if(joystick.getRawButton(4))
{
servo.set(-1);
}
}
Code:
while(isOperatorControl()) {
// Code here
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|