parent
7c18a6e1c3
commit
3bfe66fdb8
2
main.py
2
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue