|
|
|
|
|
|
|
|
#include "PCA9685.h" |
|
|
#include "PCA9685.h" |
|
|
#include <EEPROM.h> |
|
|
#include <EEPROM.h> |
|
|
|
|
|
|
|
|
// #define LDR_REGELUNG // comment in to activate LDR control |
|
|
|
|
|
|
|
|
#define LDR_REGELUNG // comment in to activate LDR control |
|
|
// #define LDRDEBUG // comment in to show LDR measurement |
|
|
// #define LDRDEBUG // comment in to show LDR measurement |
|
|
#define LDR_HYS 100 // Hysteresis for switching off FSM [lux] |
|
|
#define LDR_HYS 100 // Hysteresis for switching off FSM [lux] |
|
|
#define LDR_AVERAGE_SAMPLES 50 |
|
|
#define LDR_AVERAGE_SAMPLES 50 |