Add files via upload
Changed example CustomColorChase to CustomColorsChase
This commit is contained in:
parent
9d41651503
commit
4e7ffc12cc
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ from adafruit_led_animation.animation.rainbowcomet import RainbowComet
|
|||
from adafruit_led_animation.animation.solid import Solid
|
||||
from adafruit_led_animation.animation.colorcycle import ColorCycle
|
||||
from adafruit_led_animation.animation.rainbow import Rainbow
|
||||
from adafruit_led_animation.animation.customcolorchase import CustomColorChase
|
||||
from adafruit_led_animation.animation.customcolorschase import CustomColorsChase
|
||||
from adafruit_led_animation.sequence import AnimationSequence
|
||||
from adafruit_led_animation.color import PURPLE, WHITE, AMBER, JADE, MAGENTA, ORANGE
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ sparkle_pulse = SparklePulse(pixels, speed=0.1, period=3, color=JADE)
|
|||
rainbow_comet = RainbowComet(pixels, speed=0.1, tail_length=7, bounce=True)
|
||||
rainbow_chase = RainbowChase(pixels, speed=0.1, size=3, spacing=2, step=8)
|
||||
rainbow_sparkle = RainbowSparkle(pixels, speed=0.1, num_sparkles=15)
|
||||
custom_color_chase = CustomColorChase(pixels, speed=0.1, size=2, spacing=3,colors=[ORANGE, WHITE, JADE])
|
||||
custom_colors_chase = CustomColorsChase(pixels, speed=0.1, size=2, spacing=3,colors=[ORANGE, WHITE, JADE])
|
||||
|
||||
|
||||
animations = AnimationSequence(
|
||||
|
|
@ -59,7 +59,7 @@ animations = AnimationSequence(
|
|||
rainbow_comet,
|
||||
sparkle_pulse,
|
||||
rainbow_chase,
|
||||
custom_color_chase,
|
||||
custom_colors_chase,
|
||||
advance_interval=5,
|
||||
auto_clear=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue