Fixed example code
This commit is contained in:
parent
766b226153
commit
27f313650b
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class TimedAnimationSequence(AnimationSequence):
|
||||||
blink = blink_animation.Blink(strip_pixels, 0.2, color.RED)
|
blink = blink_animation.Blink(strip_pixels, 0.2, color.RED)
|
||||||
comet = comet_animation.Comet(strip_pixels, 0.1, color.BLUE)
|
comet = comet_animation.Comet(strip_pixels, 0.1, color.BLUE)
|
||||||
sparkle = sparkle_animation.Sparkle(strip_pixels, 0.05, color.GREEN)
|
sparkle = sparkle_animation.Sparkle(strip_pixels, 0.05, color.GREEN)
|
||||||
animations = AnimationSequence(blink, 5, comet, 3, sparkle, 7)
|
animations = TimedAnimationSequence(blink, 5, comet, 3, sparkle, 7)
|
||||||
while True:
|
while True:
|
||||||
animations.animate()
|
animations.animate()
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue