Skip to content

Commit 357d87d

Browse files
authored
Merge pull request #19 from kattni/update-blink-speed-example
Slow down blink animation.
2 parents 2c3025d + 99e2dc3 commit 357d87d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/led_animation_all_animations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
pixels = neopixel.NeoPixel(pixel_pin, pixel_num, brightness=0.2, auto_write=False)
2424

25-
blink = animation.Blink(pixels, speed=0.1, color=JADE)
25+
blink = animation.Blink(pixels, speed=0.5, color=JADE)
2626
comet = animation.Comet(pixels, speed=0.01, color=PURPLE, tail_length=10, bounce=True)
2727
chase = animation.Chase(pixels, speed=0.1, size=3, spacing=6, color=WHITE)
2828
pulse = animation.Pulse(pixels, speed=0.1, period=3, color=AMBER)
@@ -43,8 +43,8 @@
4343

4444

4545
animations = AnimationSequence(
46-
blink,
4746
comet,
47+
blink,
4848
chase,
4949
pulse,
5050
sparkle,

0 commit comments

Comments
 (0)