increase headlight threshold
This commit is contained in:
parent
c1951402d7
commit
e41b4c69d8
|
@ -30,7 +30,7 @@ class environment:
|
||||||
else:
|
else:
|
||||||
self.h_alerted = False
|
self.h_alerted = False
|
||||||
|
|
||||||
if self.sensors.get_brightness_pct() < 50:
|
if self.sensors.get_brightness_pct() < 25:
|
||||||
self.leds.set_headlights(True)
|
self.leds.set_headlights(True)
|
||||||
else:
|
else:
|
||||||
self.leds.set_headlights(False)
|
self.leds.set_headlights(False)
|
||||||
|
|
Loading…
Reference in New Issue