Files | |
file | analog.hpp |
Classes for working with analog sensors. | |
file | digital.h |
Functions for working with digital sensors. | |
file | digital.hpp |
Classes for working with digital sensors. | |
Namespaces | |
SensorLogic | |
Classes | |
class | SensorLogic::Base |
class | SensorLogic::And |
class | SensorLogic::Or |
class | SensorLogic::Xor |
class | SensorLogic::Not |
class | Analog |
Implements the sensor type "analog". More... | |
class | Analog8 |
A derivative of the Analog class that returns 8 bit values rather than 10 bit ones. More... | |
class | Digital |
Facilitates access to a digital sensor. More... | |
class | Sensor< T > |
The base class for all sensors of any type. More... | |
Functions | |
VF EXPORT_SYM int | analog (int port) |
VF EXPORT_SYM int | analog10 (int port) |
VF EXPORT_SYM int | analog_et (int port) |
VF EXPORT_SYM int | analog8 (int port) |
VF EXPORT_SYM int analog | ( | int | port | ) |
Gets the 10-bit analog value of a port.
[in] | port | A value between 0 and 7 specifying the sensor to read from. |
VF EXPORT_SYM int analog10 | ( | int | port | ) |
Gets the 10-bit analog value of a port.
[in] | port | A value between 0 and 7 specifying the sensor to read from. |
VF EXPORT_SYM int analog8 | ( | int | port | ) |
Gets the 8-bit analog value of a port.
[in] | port | A value between 0 and 7 specifying the sensor to read from. |
VF EXPORT_SYM int analog_et | ( | int | port | ) |
Gets the 10-bit analog value of an ET sensor on the given port.
[in] | port | A value between 0 and 7 specifying the ET sensor to read from. |