From 5cca923ba330322eaf9db844dbdac7c5a544b2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 28 Jul 2022 18:31:58 +0200 Subject: [PATCH] testz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1bcbb19..bc15295 100644 --- a/main.py +++ b/main.py @@ -35,7 +35,7 @@ def debug_print(message: str): def fade_in_animation(strip, mode, color): if mode == 0: for i in range(strip.numPixels()): - strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels()) + j) & 255)) + strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels())) & 255)) strip.show() elif mode == 1: for i in range(strip.numPixels()):