diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-09 06:34:03 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-03-09 06:34:03 +0400 |
commit | 58f2cbfa0c12aafb76db41efe65d9ca7c5b2ca0b (patch) | |
tree | bb24f9b216fe60e5ed3673dfb1c177a28ac9ee34 /examples/Cylon | |
parent | 621782cd0955d824ece1ed528a77347afca07a9c (diff) |
Centralized the rgb data load, advancing, scaling, and dithering code. This will work for all platforms/chipsets except for the trinket clockless (because of hand rolled asm)
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 57a3117e..3bafb8d7 100644 --- a/examples/Cylon/Cylon.ino +++ b/examples/Cylon/Cylon.ino @@ -1,12 +1,12 @@ #include "FastLED.h" // How many leds in your strip? -#define NUM_LEDS 32 +#define NUM_LEDS 40 // 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, // ground, and power), like the LPD8806, define both DATA_PIN and CLOCK_PIN -#define DATA_PIN 3 +#define DATA_PIN 6 #define CLOCK_PIN 13 // Define the array of leds |