Update light sensor timing for 1 nF capacitor

This commit is contained in:
fruchti 2020-07-15 13:47:24 +02:00
parent 70ea4a2379
commit 29ed80730d

View file

@ -6,7 +6,7 @@
#include "pinning.h" #include "pinning.h"
// ADC polling interval in milliseconds // ADC polling interval in milliseconds
#define LIGHTSENSOR_INTERVAL 2000 #define LIGHTSENSOR_INTERVAL 10
// 'Forgetting factor' of the rolling brightness average // 'Forgetting factor' of the rolling brightness average
#define LIGHTSENSOR_LAMBDA 0.95f #define LIGHTSENSOR_LAMBDA 0.95f