78 #ifndef ZumoReflectanceSensorArray_h
79 #define ZumoReflectanceSensorArray_h
81 #include <QTRSensors.h>
84 #if defined(__AVR_ATmega32U4__)
86 #define ZUMO_SENSOR_ARRAY_DEFAULT_EMITTER_PIN A4
89 #define ZUMO_SENSOR_ARRAY_DEFAULT_EMITTER_PIN 2
128 unsigned char emitterPin = ZUMO_SENSOR_ARRAY_DEFAULT_EMITTER_PIN)
130 QTRSensorsRC::init(pins, numSensors, timeout, emitterPin);
153 void init(
unsigned char emitterPin = ZUMO_SENSOR_ARRAY_DEFAULT_EMITTER_PIN)
155 unsigned char sensorPins[] = { 4, A3, 11, A0, A2, 5 };
156 QTRSensorsRC::init(sensorPins,
sizeof(sensorPins), 2000, emitterPin);
220 void init(
unsigned char * pins,
unsigned char numSensors,
unsigned int timeout = 2000,
221 unsigned char emitterPin = ZUMO_SENSOR_ARRAY_DEFAULT_EMITTER_PIN)
223 QTRSensorsRC::init(pins, numSensors, timeout, emitterPin);