Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
@ -43,6 +43,8 @@ def rainbowCycle(strip, wait_ms=5, iterations=10):
for j in range(256*iterations):
if mode > 0:
break
elif power == "False":
for i in range(strip.numPixels()):
strip.setPixelColor(i, wheel((int(i * 256 / strip.numPixels()) + j) & 255))
strip.show()