VEX V5 C++ API
|
Use this class when programming with a digital-in device. More...
Inherits vex::__tridevice.
Public Member Functions | |
digital_in (triport::port &port) | |
Creates a new digital in object on the port specified in the parameter. More... | |
~digital_in () | |
int32_t | value () |
Gets the value of the digital-in device. More... | |
operator int () | |
operator bool () | |
Use this class when programming with a digital-in device.
vex::digital_in::digital_in | ( | triport::port & | port | ) |
Creates a new digital in object on the port specified in the parameter.
port | A reference to a three wire port. |
vex::digital_in::~digital_in | ( | ) |
int32_t vex::digital_in::value | ( | ) |
Gets the value of the digital-in device.
vex::digital_in::operator int | ( | ) |
vex::digital_in::operator bool | ( | ) |