TI RSLK Library 0.2.2
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
class | QTRSensors |
Represents a QTR sensor array. More... | |
struct | QTRSensors::CalibrationData |
Stores sensor calibration data. More... | |
Enumerations | |
enum class | QTRReadMode : uint8_t { Off , On , OnAndOff , OddEven , OddEvenAndOff , Manual } |
Emitter behavior when taking readings. More... | |
enum class | QTRType : uint8_t { Undefined , RC , Analog } |
Sensor types. More... | |
enum class | QTREmitters : uint8_t { All , Odd , Even , None } |
Emitters selected to turn on or off. More... | |
Variables | |
const uint8_t | QTRNoEmitterPin = 255 |
Represents an undefined emitter control pin. | |
const uint16_t | QTRRCDefaultTimeout = 2500 |
Default timeout for RC sensors (in microseconds). | |
const uint8_t | QTRMaxSensors = 31 |
The maximum number of sensors supported by an instance of this class. | |
|
strong |
Emitter behavior when taking readings.
Note that emitter control will only work if you specify a valid emitter pin with setEmitterPin(), and the odd/even modes will only work if you are using a second-generation QTR or QTRX sensor with two emitter control pins and you specify both pins with setEmitterPins().
Definition at line 13 of file QTRSensors.h.
|
strong |
Sensor types.
Definition at line 51 of file QTRSensors.h.
|
strong |
Emitters selected to turn on or off.
Definition at line 59 of file QTRSensors.h.
const uint8_t QTRNoEmitterPin = 255 |
Represents an undefined emitter control pin.
Definition at line 68 of file QTRSensors.h.
const uint16_t QTRRCDefaultTimeout = 2500 |
Default timeout for RC sensors (in microseconds).
Definition at line 71 of file QTRSensors.h.
const uint8_t QTRMaxSensors = 31 |
The maximum number of sensors supported by an instance of this class.
Definition at line 74 of file QTRSensors.h.