|
Re: How to use Axis Camera Servos in Java
//Declaration
Servo cameray = new Servo(7);
//Implementation
if (aButton.get() && !yButton.get())
{
//Tried both of these
//cameray.set(1);
cameray.setAngle(180);
}
else
{
//cameray.set(0);
cameray.setAngle(90);
}
|