|
VEX V5 C++ API
|
Use this class when programming with a pneumatics device. More...
Inherits vex::digital_out.
Public Member Functions | |
| pneumatics (triport::port &port) | |
| Creates a new pneumatics object on the port specified in the parameter. More... | |
| ~pneumatics () | |
| void | open () |
| Sets the pneumatics device to the solenoid open state allowing air to flow into the cylinder. More... | |
| void | close () |
| Sets the pneumatics device to the solenoid close state stopping air flowing into the cylinder. More... | |
Public Member Functions inherited from vex::digital_out | |
| digital_out (triport::port &port) | |
| Creates a new digital out object on the port specified in the parameter. More... | |
| ~digital_out () | |
| int32_t | value () |
| Gets the value of the digital-out device. More... | |
| void | set (bool value) |
| Sets the digital-out device to a Boolean value. More... | |
| operator int () | |
| operator bool () | |
| void | operator= (const int32_t value) |
| Sets the output value of the digital-out device. More... | |
Use this class when programming with a pneumatics device.
| vex::pneumatics::pneumatics | ( | triport::port & | port | ) |
Creates a new pneumatics object on the port specified in the parameter.
| port | A reference to a three wire port. |
| vex::pneumatics::~pneumatics | ( | ) |
| void vex::pneumatics::open | ( | ) |
Sets the pneumatics device to the solenoid open state allowing air to flow into the cylinder.
| void vex::pneumatics::close | ( | ) |
Sets the pneumatics device to the solenoid close state stopping air flowing into the cylinder.
1.8.15