java.lang.ObjectServoMotor
public class ServoMotor
This class manipulates a servo motor.
Constructor Summary | |
---|---|
ServoMotor()
Creates the Servo Motor at the default pin (GPIO 1) |
Method Summary | |
---|---|
int |
getPosition()
Get the Servo current position |
void |
setPosition(int positionNumber)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServoMotor()
Method Detail |
---|
public int getPosition()
public void setPosition(int positionNumber)