increase headlight threshold

This commit is contained in:
Siwat Sirichai 2022-11-10 22:41:01 +07:00
parent c1951402d7
commit e41b4c69d8
1 changed files with 1 additions and 1 deletions

View File

@ -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)