From 21847efdeb14ad03de4c486d12b6deea565b6c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 27 Dec 2022 23:52:28 +0100 Subject: [PATCH] removed fade in 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 45dea4d..b0cf0e7 100644 --- a/main.py +++ b/main.py @@ -56,8 +56,8 @@ def rainbowCycle(strip, wait_ms=5, iterations=10): def setColor(strip, color, wait_ms=10): for i in range(strip.numPixels()): strip.setPixelColor(i, color) - strip.show() time.sleep(float(0.01)) + strip.show() time.sleep(wait_ms/1000.0) def strobe(strip, color):