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>2013-11-19 03:24:34 +0400
committerDaniel Garcia <danielgarcia@gmail.com>2013-11-19 03:24:34 +0400
commit6c1d150d5d13234b6b583650af871d63268bc645 (patch)
tree6f3f682d916655b3651fbe91f8498339f4890154 /examples/FirstLight
parentc50134abdf65b0648f6e289e1eb438a3256bfe19 (diff)
Removing some cruft from the first light program
Diffstat (limited to 'examples/FirstLight')
-rw-r--r--examples/FirstLight/FirstLight.ino9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/FirstLight/FirstLight.ino b/examples/FirstLight/FirstLight.ino
index e86325a5..8f82c370 100644
--- a/examples/FirstLight/FirstLight.ino
+++ b/examples/FirstLight/FirstLight.ino
@@ -1,5 +1,7 @@
-#define FORCE_SOFTWARE_SPI
-#define FORCE_SOFTWARE_PINS
+// Use if you want to force the software SPI subsystem to be used for some reason (generally, you don't)
+// #define FORCE_SOFTWARE_SPI
+// Use if you want to force non-accelerated pin access (hint: you really don't, it breaks lots of things)
+// #define FORCE_SOFTWARE_PINS
#include "FastLED.h"
///////////////////////////////////////////////////////////////////////////////////////////
@@ -29,8 +31,7 @@ void setup() {
// FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
- // FastLED.addLeds<WS2811, DATA_PIN, GRB>(leds+18, NUM_LEDS/3);
- // FastLED.addLeds<WS2811, 8, RGB>(leds + 225, NUM_LEDS/4);
+ // FastLED.addLeds<WS2811, DATA_PIN, GRB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS);