From 3bfe66fdb8b376e51a181bba701acab1dca7c790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 2 Jul 2022 10:32:00 +0200 Subject: [PATCH] removed wheel client arg 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 044c538..fec1631 100644 --- a/main.py +++ b/main.py @@ -53,7 +53,7 @@ def rainbowCycle( strip, wait_ms=5, iterations=10): elif power == "False": break for i in range(strip.numPixels()): - strip.setPixelColor(i, wheel(client, (int(i * 256 / strip.numPixels()) + j) & 255)) + strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels()) + j) & 255)) strip.show() time.sleep(wait_ms/1000.0)