Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Garcia <danielgarcia@gmail.com>2016-02-16 01:26:26 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2016-02-16 01:26:26 +0300
commit8b8d22b8bf1442ff96d205ee30c175da4ff31f4a (patch)
tree459faed69560609ad2922c8021958d36d165705d
parent7b83eb946723b40b5ae4b3b0dc5ac909603eb0aa (diff)
Cylon should use the DATA_PIN #define
-rw-r--r--examples/Cylon/Cylon.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Cylon/Cylon.ino b/examples/Cylon/Cylon.ino
index e484adb3..be022076 100644
--- a/examples/Cylon/Cylon.ino
+++ b/examples/Cylon/Cylon.ino
@@ -15,7 +15,7 @@ CRGB leds[NUM_LEDS];
void setup() {
Serial.begin(57600);
Serial.println("resetting");
- LEDS.addLeds<WS2812,2,RGB>(leds,NUM_LEDS);
+ LEDS.addLeds<WS2812,DATA_PIN,RGB>(leds,NUM_LEDS);
LEDS.setBrightness(84);
}