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):