Update light sensor timing for 1 nF capacitor
This commit is contained in:
parent
70ea4a2379
commit
29ed80730d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue