VEX V5 Python API
|
Inherits vex.TriDevice.
Public Member Functions | |
def | __init__ (self, triport_port) |
Use this class when programming with a servo device. More... | |
def | set_position (self, value, rotationUnits=RotationUnits.DEG) |
Sets the position of the servo device. More... | |
def vex.Servo.__init__ | ( | self, | |
triport_port | |||
) |
Use this class when programming with a servo device.
def vex.Servo.set_position | ( | self, | |
value, | |||
rotationUnits = RotationUnits.DEG |
|||
) |
Sets the position of the servo device.
value | The value to be set to the device. Range for degrees is from -50 to 50 |
rotationUnits | The unit type that the previous parameter should be treated as. |