From a3641f093f30690f5372258d226d04b71e26be0a Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 17 Jun 2016 15:12:54 -0700 Subject: Add an alias for WS2852 to WS2812, fix #257. --- FastLED.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FastLED.h b/FastLED.h index 516a1b73..fa7ba0c9 100644 --- a/FastLED.h +++ b/FastLED.h @@ -98,6 +98,7 @@ template class UCS1903B : public UCS1903BCon template class UCS1904 : public UCS1904Controller800Khz {}; template class UCS2903 : public UCS2903Controller {}; template class WS2812 : public WS2812Controller800Khz {}; +template class WS2852 : public WS2812Controller800Khz {}; template class WS2812B : public WS2812Controller800Khz {}; template class SK6812 : public SK6812Controller {}; template class SK6822 : public SK6822Controller {}; @@ -459,8 +460,8 @@ public: /// Update all our controllers with the current led colors void show() { show(m_Scale); } - /// clear the leds, optionally wiping the local array of data as well - /// @param writeData whether or not to write into the local data array as well + /// clear the leds, wiping the local array of data, optionally black out the leds as well + /// @param writeData whether or not to write out to the leds as well void clear(boolean writeData = false); /// clear out the local data array -- cgit v1.2.3