VEX V5 Python API
|
Inherits vex.TriDevice.
Public Member Functions | |
def | __init__ (self, triport_port) |
Use this class when programming with a potentiometer. More... | |
def | value (self, rotationUnits=RotationUnits.DEG) |
Gets the value of the potentiometer in the units defined in the parameter. More... | |
def vex.Pot.__init__ | ( | self, | |
triport_port | |||
) |
Use this class when programming with a potentiometer.
def vex.Pot.value | ( | self, | |
rotationUnits = RotationUnits.DEG |
|||
) |
Gets the value of the potentiometer in the units defined in the parameter.
rotationUnits | The unit type of the value that is returned. |