VEX V5 Python API
|
Inherits vex.DigitalOut.
Public Member Functions | |
def | __init__ (self, triport_port) |
Use this class when programming with a pneumatics device. More... | |
def | open (self) |
Sets the pneumatics device to the solenoid open state allowing air to flow into the cylinder. More... | |
def | close (self) |
Sets the pneumatics device to the solenoid close state stopping air flowing into the cylinder. More... | |
def | value (self) |
Gets the value of the digital out device. More... | |
def | set (self, is_set) |
Sets the digital out device to a Boolean value. More... | |
def | is_set (self) |
def vex.Pneumatics.__init__ | ( | self, | |
triport_port | |||
) |
Use this class when programming with a pneumatics device.
Reimplemented from vex.DigitalOut.
def vex.Pneumatics.open | ( | self | ) |
Sets the pneumatics device to the solenoid open state allowing air to flow into the cylinder.
def vex.Pneumatics.close | ( | self | ) |
Sets the pneumatics device to the solenoid close state stopping air flowing into the cylinder.
|
inherited |
Gets the value of the digital out device.
|
inherited |
Sets the digital out device to a Boolean value.
is_set | A true or false Boolean value. |
|
inherited |