diff options
Diffstat (limited to 'examples/Cylon/Cylon.ino')
-rw-r--r-- | examples/Cylon/Cylon.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Cylon/Cylon.ino b/examples/Cylon/Cylon.ino index f51c3487..96d4949a 100644 --- a/examples/Cylon/Cylon.ino +++ b/examples/Cylon/Cylon.ino @@ -6,7 +6,7 @@ // 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 7 +#define DATA_PIN 2 #define CLOCK_PIN 13 // Define the array of leds @@ -15,8 +15,8 @@ CRGB leds[NUM_LEDS]; void setup() { Serial.begin(57600); Serial.println("resetting"); - LEDS.addLeds<WS2812,DATA_PIN,RGB>(leds,NUM_LEDS); - LEDS.setBrightness(84); + FastLED.addLeds<WS2812,DATA_PIN,RGB>(leds,NUM_LEDS); + FastLED.setBrightness(84); } void fadeall() { for(int i = 0; i < NUM_LEDS; i++) { leds[i].nscale8(250); } } |