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>2014-05-20 07:00:15 +0400
committerDaniel Garcia <danielgarcia@gmail.com>2014-05-20 07:00:15 +0400
commitaa57dff25ed5a33193e0a47c4b346af19c8c2eca (patch)
tree001a4aae3cf4f40bebf432f789b2acb0011450be /FastLED.h
parent8cf98e6e3131cd0a3730c30b2a90bde443052f26 (diff)
Fixing up due/digix parallel/tm1809 output timing.
Diffstat (limited to 'FastLED.h')
-rw-r--r--FastLED.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/FastLED.h b/FastLED.h
index 30ff9071..a53d2cad 100644
--- a/FastLED.h
+++ b/FastLED.h
@@ -164,6 +164,13 @@ public:
#endif
// #ifdef HAS_BLOCKLESS
+ template<EBlockChipsets CHIPSET, int NUM_LANES, EOrder RGB_ORDER>
+ static CLEDController &addLeds(const struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
+ switch(CHIPSET) {
+ case WS2811_PORTC: return addLeds(new InlineBlockClocklessController<NUM_LANES, NS(250), NS(510), NS(490), RGB_ORDER>(), data, nLedsOrOffset, nLedsIfOffset);
+ }
+ }
+
template<EBlockChipsets CHIPSET, int NUM_LANES>
static CLEDController &addLeds(const struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
switch(CHIPSET) {