int
i = 0;
void
setup
(
void
)
{
strip.
begin
();
strip.
setBrightness
(255);
}
void
loop
(
void
)
{
i = (i + 1) % PIXELS;
strip.
setPixelColor
(i % PIXELS, strip.Color(0, 0, 0));
strip.
setPixelColor
((i + 1) % PIXELS, strip.Color(0, 0, 63));
strip.
setPixelColor
((i + 2) % PIXELS, strip.Color(0, 0, 127));
strip.
setPixelColor
((i + 3) % PIXELS, strip.Color(0, 0, 195));
strip.
setPixelColor
((i + 4) % PIXELS, strip.Color(0, 0, 255));
strip.show();
delay
(8);
}