adafruit / Adafruit_CircuitPython_LED_Animation

CircuitPython helper library for LED colors and animations
MIT License
53 stars 43 forks source link

ColorCycle accepts start color #115

Closed tneish closed 8 months ago

tneish commented 9 months ago

ColorCycle accepts start color. Enables "candy-cane"-like animations; e.g: AnimationGroup with [ColorCycle(strips[0], speed=5, colors=[color.WHITE, color.RED, color.GREEN, color.BLACK], start_color=0), ColorCycle(strips[1], speed=5, colors=[color.WHITE, color.RED, color.GREEN, color.BLACK], start_color=1), ColorCycle(strips[2], speed=5, colors=[color.WHITE, color.RED, color.GREEN, color.BLACK], start_color=2), ColorCycle(strips[3], speed=5, colors=[color.WHITE, color.RED, color.GREEN, color.BLACK], start_color=3) ]

tneish commented 9 months ago

I'm not sure why the check is failing. Let me know and I can modify! Thanks