VEX V5 Python API
Public Member Functions | List of all members
vex.PwmOut Class Reference

Inherits vex.TriDevice.

Public Member Functions

def __init__ (self, triport_port)
 Use this class when programming with a pwm out device. More...
 
def set_state (self, value, percentUnits=PercentUnits.PCT)
 Sets the state of the pwm device. More...
 

Constructor & Destructor Documentation

◆ __init__()

def vex.PwmOut.__init__ (   self,
  triport_port 
)

Use this class when programming with a pwm out device.

Member Function Documentation

◆ set_state()

def vex.PwmOut.set_state (   self,
  value,
  percentUnits = PercentUnits.PCT 
)

Sets the state of the pwm device.

Parameters
valueto be set to the device.
percentUnitsunits of value