removed wheel client arg

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-02 10:32:00 +02:00
parent 7c18a6e1c3
commit 3bfe66fdb8
1 changed files with 1 additions and 1 deletions

View File

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