Zumo32U4 library
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
QTRSensors Class Referenceabstract

#include <Zumo32U4.h>

Inheritance diagram for QTRSensors:
QTRSensorsAnalog QTRSensorsRC Zumo32U4LineSensors

Public Member Functions

void read (unsigned int *sensor_values, unsigned char readMode=QTR_EMITTERS_ON)
void emittersOff ()
void emittersOn ()
void calibrate (unsigned char readMode=QTR_EMITTERS_ON)
void resetCalibration ()
void readCalibrated (unsigned int *sensor_values, unsigned char readMode=QTR_EMITTERS_ON)
int readLine (unsigned int *sensor_values, unsigned char readMode=QTR_EMITTERS_ON, unsigned char white_line=0)

Public Attributes

unsigned int * calibratedMinimumOn
unsigned int * calibratedMaximumOn
unsigned int * calibratedMinimumOff
unsigned int * calibratedMaximumOff

Protected Member Functions

void init (unsigned char *pins, unsigned char numSensors, unsigned char emitterPin)

Protected Attributes

unsigned char * _pins
unsigned char _numSensors
unsigned char _emitterPin
unsigned int _maxValue
int _lastValue

Detailed Description

For complete documentation of this class, see https://www.pololu.com/docs/0J19

Definition at line 48 of file QTRSensors.h.

The documentation for this class was generated from the following files: