scottjgibson/PixelPi — pull request #10 by hydra (2012-09-16 00:39:31+00:00)
Title: Fixing two problems with chase: An extra LED would be used.  The LED aft...

...er the amount specified is turned off each time. Not needed.

The problem could be seen when setting a few leds on:

sudo python pixelpi.py chase --chip WS2801 --num_leds 10 --refresh_rate 100

and then running chase with less pixels/leds

sudo python pixelpi.py chase --chip WS2801 --num_leds 6 --refresh_rate 100

What should happen, and does with the above fix, is that only the first 6 LEDs are used for the chase and the rest remain on.