From c1951402d79229cf585c0699b44a9f0c308a2124 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 10 Nov 2022 22:40:24 +0700 Subject: [PATCH] disable NP autoshow --- kuukar/kuukar_leds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kuukar/kuukar_leds.py b/kuukar/kuukar_leds.py index 47060fb..38e7d2d 100644 --- a/kuukar/kuukar_leds.py +++ b/kuukar/kuukar_leds.py @@ -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,