VEX V5 C++ API
|
Use this class to get and set information about devices on 3-wire ports. More...
Inherits vex::device.
Classes | |
class | port |
Use this class to get access to port functions and members. More... | |
Public Member Functions | |
triport (int32_t index) | |
~triport () | |
template<typename... Args> | |
triport (int32_t index, Args... args) | |
bool | installed () |
Gets the status of what is installed on the port. More... | |
![]() | |
device () | |
device (int32_t index) | |
~device () | |
V5_DeviceType | type () |
void | init (int32_t index) |
virtual int32_t | value () |
Public Attributes | |
port | Port [8] |
port & | A = Port[0] |
A Three Wire Port that is labeled as A on the Brain. More... | |
port & | B = Port[1] |
A Three Wire Port that is labeled as B on the Brain. More... | |
port & | C = Port[2] |
A Three Wire Port that is labeled as C on the Brain. More... | |
port & | D = Port[3] |
A Three Wire Port that is labeled as D on the Brain. More... | |
port & | E = Port[4] |
A Three Wire Port that is labeled as E on the Brain. More... | |
port & | F = Port[5] |
A Three Wire Port that is labeled as F on the Brain. More... | |
port & | G = Port[6] |
A Three Wire Port that is labeled as G on the Brain. More... | |
port & | H = Port[7] |
A Three Wire Port that is labeled as H on the Brain. More... | |
Friends | |
class | pot |
class | gyro |
Additional Inherited Members | |
![]() | |
int32_t | _index |
Use this class to get and set information about devices on 3-wire ports.
vex::triport::triport | ( | int32_t | index | ) |
vex::triport::~triport | ( | ) |
|
inline |
|
virtual |
Gets the status of what is installed on the port.
Reimplemented from vex::device.
|
friend |
|
friend |
port vex::triport::Port[8] |