Skip to content

Instantly share code, notes, and snippets.

@brantritter
brantritter / Alex_final
Last active February 8, 2018 00:03
blend arrays to colors
#include <FastLED.h>
#define LED_PIN 11
// Information about the LED strip itself
#define NUM_LEDS 238
#define CHIPSET WS2811_400
#define COLOR_ORDER GRB
#define BRIGHTNESS 100
//***************************************************************
// Example of blending from one color to a target color.
// Once the target color is reached a new random target color
// is picked to blend toward.
//
// leds[0] always displays the target color.
//
// Marc Miller, Feb 2017
//***************************************************************