Constants for the light sensor.
More...
Constants for the light sensor.
There is an ambient light sensor on the board. Darkness provides higher voltages. Please consult the schematic for details.
VCC_P3V3
+
|
.-.
| | 100k
| |
'-'
|
o--- Lightsensor
|
-> |/
-| Phototransistor
-> |> TEMT6000
|
|
===
GND
◆ LIGHT_SENSOR_ADC_INPUT
#define LIGHT_SENSOR_ADC_INPUT ADC_CH_MUXPOS_PIN1_gc |
◆ LIGHT_SENSOR_SIGNAL_PIN_bm
#define LIGHT_SENSOR_SIGNAL_PIN_bm PIN1_bm |
◆ LIGHT_SENSOR_SIGNAL_PIN_bp
#define LIGHT_SENSOR_SIGNAL_PIN_bp PIN1_bp |