diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-11 23:08:34 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-11 23:08:34 +0400 |
commit | 5ff29548312ed8621fe08d67e22939938e9a5ecf (patch) | |
tree | ac6ef078986afc9f604c9be9b5631c5da4355839 /examples/Cylon | |
parent | 17799cb623c595d62f53c3a72710645aeeaea872 (diff) |
First pass at color/temperature correction code
Diffstat (limited to 'examples/Cylon')
-rw-r--r-- | examples/Cylon/Cylon.ino | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Cylon/Cylon.ino b/examples/Cylon/Cylon.ino index 94cb7541..28cd0026 100644 --- a/examples/Cylon/Cylon.ino +++ b/examples/Cylon/Cylon.ino @@ -1,7 +1,7 @@ #include "FastLED.h" // How many leds in your strip? -#define NUM_LEDS 40 +#define NUM_LEDS 8 // For led chips like Neopixels, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, @@ -13,7 +13,7 @@ CRGB leds[NUM_LEDS]; void setup() { - FastLED.addLeds<LPD8806>(leds, NUM_LEDS); + FastLED.addLeds<NEOPIXEL,6>(leds, NUM_LEDS); } void loop() { |