|
FastLED 3.9.15
|
WS2816 controller class.
#include <FastLED.h>
Inheritance diagram for WS2816< DATA_PIN, RGB_ORDER >:
Collaboration diagram for WS2816< DATA_PIN, RGB_ORDER >:Additional Inherited Members | |
Public Types inherited from WS2816Controller< DATA_PIN, RGB_ORDER > | |
| typedef WS2812Controller800Khz< DATA_PIN, RGB > | ControllerBaseT |
Public Member Functions inherited from WS2816Controller< DATA_PIN, RGB_ORDER > | |
| WS2816Controller () | |
| ~WS2816Controller () | |
| virtual void * | beginShowLeds (int size) override |
| virtual void | endShowLeds (void *data) override |
| virtual void | showPixels (PixelController< RGB_ORDER, LANES, MASK > &pixels) override |
| Send the LED data to the strip. | |
Public Member Functions inherited from CPixelLEDController< RGB_ORDER, WS2812Controller800Khz< DATA_PIN, RGB >::LANES_VALUE, WS2812Controller800Khz< DATA_PIN, RGB >::MASK_VALUE > | |
| CPixelLEDController () | |
| int | lanes () override |
| Get the number of lanes of the Controller. | |
Public Member Functions inherited from CLEDController | |
| CLEDController () | |
| Create an led controller object, add it to the chain of controllers. | |
| VIRTUAL_IF_NOT_AVR | ~CLEDController () |
| void | clearLedDataInternal (int nLeds=-1) |
| Zero out the LED data managed by this controller. | |
| VIRTUAL_IF_NOT_AVR void | clearLeds (int nLeds=-1) |
| Clear out/zero out the given number of LEDs. | |
| CRGB | getAdjustment (fl::u8 scale) |
| Get the combined brightness/color adjustment for this controller. | |
| ColorAdjustment | getAdjustmentData (fl::u8 brightness) |
| CRGB | getCorrection () |
| Get the correction value used by this controller. | |
| fl::u8 | getDither () |
| Get the dithering option currently set for this controller. | |
| bool | getEnabled () |
| virtual fl::u16 | getMaxRefreshRate () const |
| Gets the maximum possible refresh rate of the strip. | |
| Rgbw | getRgbw () const |
| CRGB | getTemperature () |
| Get the color temperature, aka white point, for this controller. | |
| CRGB * | leds () |
| Pointer to the CRGB array for this controller. | |
| CLEDController * | next () |
| Get the next controller in the linked list after this one. | |
| CRGB & | operator[] (int x) |
| Reference to the n'th LED managed by the controller. | |
| CLEDController & | setCorrection (CRGB correction) |
| The color corrction to use for this controller, expressed as a CRGB object. | |
| CLEDController & | setCorrection (LEDColorCorrection correction) |
| The color corrction to use for this controller, expressed as a CRGB object. | |
| CLEDController & | setDither (fl::u8 ditherMode=BINARY_DITHER) |
| Set the dithering mode for this controller to use. | |
| void | setEnabled (bool enabled) |
| CLEDController & | setLeds (CRGB *data, int nLeds) |
| Set the default array of LEDs to be used by this controller. | |
| CLEDController & | setRgbw (const Rgbw &arg=RgbwDefault::value()) |
| CLEDController & | setScreenMap (const fl::ScreenMap &map) |
| CLEDController & | setScreenMap (const fl::XYMap &map, float diameter=-1.f) |
| CLEDController & | setScreenMap (fl::u16 width, fl::u16 height, float diameter=-1.f) |
| CLEDController & | setTemperature (ColorTemperature temperature) |
| Set the color temperature, aka white point, for this controller. | |
| CLEDController & | setTemperature (CRGB temperature) |
| Set the color temperature, aka white point, for this controller. | |
| void | showColorInternal (const struct CRGB &data, fl::u8 brightness) |
| void | showColorInternal (const struct CRGB &data, int nLeds, fl::u8 brightness) |
| void | showInternal (const struct CRGB *data, int nLeds, fl::u8 brightness) |
| VIRTUAL_IF_NOT_AVR void | showLeds (fl::u8 brightness) |
| void | showLedsInternal (fl::u8 brightness) |
| Write the data to the LEDs managed by this controller. | |
| virtual int | size () |
| How many LEDs does this controller manage? | |
Static Public Member Functions inherited from CLEDController | |
| static CLEDController * | head () |
| Get the first LED controller in the linked list of controllers. | |
Public Attributes inherited from CLEDController | |
| Rgbw | mRgbMode = RgbwInvalid::value() |
Static Public Attributes inherited from WS2816Controller< DATA_PIN, RGB_ORDER > | |
| static const int | LANES |
| static const uint32_t | MASK |
Static Public Attributes inherited from CPixelLEDController< RGB_ORDER, WS2812Controller800Khz< DATA_PIN, RGB >::LANES_VALUE, WS2812Controller800Khz< DATA_PIN, RGB >::MASK_VALUE > | |
| static const int | LANES_VALUE |
| The number of lanes for this controller. | |
| static const fl::u32 | MASK_VALUE |
| The mask for the lanes for this controller. | |
| static const EOrder | RGB_ORDER_VALUE |
| The RGB ordering for this controller. | |
Protected Member Functions inherited from CPixelLEDController< RGB_ORDER, WS2812Controller800Khz< DATA_PIN, RGB >::LANES_VALUE, WS2812Controller800Khz< DATA_PIN, RGB >::MASK_VALUE > | |
| virtual void | show (const struct CRGB *data, int nLeds, fl::u8 brightness) override |
| Write the passed in RGB data out to the LEDs managed by this controller. | |
| virtual void | showColor (const CRGB &data, int nLeds, fl::u8 brightness) override |
| Set all the LEDs on the controller to a given color. | |
Protected Attributes inherited from CLEDController | |
| CRGB | m_ColorCorrection |
| CRGB object representing the color correction to apply to the strip on show() | |
| CRGB | m_ColorTemperature |
| CRGB object representing the color temperature to apply to the strip on show() | |
| CRGB * | m_Data |
| pointer to the LED data used by this controller | |
| EDitherMode | m_DitherMode |
| the current dither mode of the controller | |
| bool | m_enabled = true |
| int | m_nLeds |
| the number of LEDs in the LED data array | |
| CLEDController * | m_pNext |
| pointer to the next LED controller in the linked list | |
Static Protected Attributes inherited from CLEDController | |
| static CLEDController * | m_pHead = NULL |
| pointer to the first LED controller in the linked list | |
| static CLEDController * | m_pTail = NULL |
| pointer to the last LED controller in the linked list | |