Skip to content

Commit 5e12c7c

Browse files
weiserheicp2004
andauthored
Update examples/multistrandtest.py
Co-authored-by: Charlie Powell <[email protected]>
1 parent 615538c commit 5e12c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/multistrandtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def multiColorWipe(color1, color2, wait_ms=5):
3636
if i % 2:
3737
# even number
3838
strip1.setPixelColor(i, color1)
39-
strip2.setPixelColor(int(i / 2), color2)
39+
strip2.setPixelColor(i // 2, color2)
4040
strip1.show()
4141
time.sleep(wait_ms / 1000.0)
4242
strip2.show()

0 commit comments

Comments
 (0)