12#ifndef LightDetection_h
13#define LightDetection_h
50 static void begin(
void);
static const uint8_t IR_PT_ENABLE
static void beginDaylight(void)
static void beginInfrared(void)
static const uint8_t DL_PT_FRONT_ADC
static uint16_t readIRPT(photoTransistors sensor)
static uint16_t getValue(photoTransistors sensor)
reads the Value of the specified sensor
static const uint8_t DL_PT_ENABLE
static const uint8_t DL_PT_BOTTOM_ADC
static uint16_t readDLPT(photoTransistors sensor)
static uint32_t getAverageValue(photoTransistors sensor, uint32_t measurments, uint32_t timeBetween)
Get the Average of multiple measurments of a single PT.
static const uint8_t IR_PT_BACK_ADC
static photoTransistors getBrightest(ptType type)
can be used to determine which sensor is exposed to the greatest amount of light Can distingish betwe...
static const uint8_t IR_PT_LEFT_ADC
static const uint8_t IR_PT_FRONT_ADC
static const uint8_t IR_PT_RIGHT_ADC
static void begin(void)
initialize the Lightdetection Compnent, must be called before the other methods are used.
uint32_t measurementAmount