VEX V5 C++ API
|
Use this class when programming with a line follower. More...
Inherits vex::__tridevice.
Public Member Functions | |
line (triport::port &port) | |
Creates a new line object on the port specified in the parameter. More... | |
~line () | |
int32_t | value (analogUnits units) |
Gets the value of the line follower. More... | |
int32_t | value (percentUnits units) |
Gets the value of the line follower. More... | |
Use this class when programming with a line follower.
vex::line::line | ( | triport::port & | port | ) |
Creates a new line object on the port specified in the parameter.
port | A reference to a three wire port. |
vex::line::~line | ( | ) |
int32_t vex::line::value | ( | analogUnits | units | ) |
Gets the value of the line follower.
units | The measurement unit for the line device. |
|
inline |
Gets the value of the line follower.
units | The measurement unit for the line device. |