disable NP autoshow

This commit is contained in:
Siwat Sirichai 2022-11-10 22:40:24 +07:00
parent 189f0d4bbb
commit c1951402d7
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class leds:
def __update_leds(self):
self.mcu.neopixel_fill(
r=self.ambient_light[0], g=self.ambient_light[1], b=self.ambient_light[2])
r=self.ambient_light[0], g=self.ambient_light[1], b=self.ambient_light[2], auto_show=False)
if self.headlight:
for led in HEADLIGHT_LEDS:
self.mcu.neo_pixel_set_value(led, self.headlight * 255, self.headlight * 255,