Project 2  8×8 Dot-Matrix Display
Neff Site
Macros
Light sensor

Constants for the light sensor. More...

Macros

#define LIGHT_SENSOR_SIGNAL_PIN_bp   PIN1_bp
 
#define LIGHT_SENSOR_SIGNAL_PIN_bm   PIN1_bm
 
#define LIGHT_SENSOR_ADC_INPUT   ADC_CH_MUXPOS_PIN1_gc
 

Detailed Description

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

Macro Definition Documentation

◆ 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
Contact