Tune light sensor parameters

This commit is contained in:
fruchti 2020-09-21 00:34:32 +02:00
parent ad433e2452
commit 6d1481fb95
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
507
509

View file

@ -17,8 +17,8 @@
// Bounds for converting absolute to relative brightness (empirically
// determined)
#define LIGHTSENSOR_LOW_BOUND ((int)(0.003 * LIGHTSENSOR_MAX))
#define LIGHTSENSOR_HIGH_BOUND ((int)(0.65 * LIGHTSENSOR_MAX))
#define LIGHTSENSOR_LOW_BOUND 5
#define LIGHTSENSOR_HIGH_BOUND ((int)(0.85 * LIGHTSENSOR_MAX))
extern int LightSensor_RelativeBrightness;