From e41b4c69d8943059bdb8776997cdce7cbf40ab82 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 10 Nov 2022 22:41:01 +0700 Subject: [PATCH] increase headlight threshold --- kuukar/kuukar_environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kuukar/kuukar_environment.py b/kuukar/kuukar_environment.py index 54f5bd4..586b3ef 100644 --- a/kuukar/kuukar_environment.py +++ b/kuukar/kuukar_environment.py @@ -30,7 +30,7 @@ class environment: else: self.h_alerted = False - if self.sensors.get_brightness_pct() < 50: + if self.sensors.get_brightness_pct() < 25: self.leds.set_headlights(True) else: self.leds.set_headlights(False)