From 4e7ffc12cc825d45102f420fe930f8c666ee1d5d Mon Sep 17 00:00:00 2001 From: cjsieh Date: Mon, 15 Jun 2020 11:26:34 -0500 Subject: [PATCH] Add files via upload Changed example CustomColorChase to CustomColorsChase --- examples/led_animation_all_animations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/led_animation_all_animations.py b/examples/led_animation_all_animations.py index 0d55804..4518113 100644 --- a/examples/led_animation_all_animations.py +++ b/examples/led_animation_all_animations.py @@ -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, )