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 | 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 | |
EXPORT_SYM int | analog (int port) |
EXPORT_SYM int | analog8 (int port) |
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. |
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. |