Zumo32U4 library
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
QTRSensorsAnalog Class Reference
Inheritance diagram for QTRSensorsAnalog:
QTRSensors

Public Member Functions

 QTRSensorsAnalog (unsigned char *pins, unsigned char numSensors, unsigned char numSamplesPerSensor=4, unsigned char emitterPin=255)
 
void init (unsigned char *analogPins, unsigned char numSensors, unsigned char numSamplesPerSensor=4, unsigned char emitterPin=QTR_NO_EMITTER_PIN)
 
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

Definition at line 212 of file QTRSensors.h.


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