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)