template<uint8_t DATA_PIN, uint8_t CLOCK_PIN,
EOrder RGB_ORDER = RGB, uint32_t SPI_SPEED = DATA_RATE_MHZ(16)>
class SM16716Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >
SM16716 controller class.
- Template Parameters
-
DATA_PIN | the data pin for these LEDs |
CLOCK_PIN | the clock pin for these LEDs |
RGB_ORDER | the RGB ordering for these LEDs |
SPI_SPEED | the clock divider used for these LEDs. Set using the DATA_RATE_MHZ / DATA_RATE_KHZ macros. Defaults to DATA_RATE_MHZ(16) |
Definition at line 611 of file chipsets.h.
|
virtual void | init () |
| Initialize the LED controller.
|
|
virtual void | showPixels (PixelController< RGB_ORDER, 1, 0xFFFFFFFF > &pixels)=0 |
| Send the LED data to the strip.
|
|
int | lanes () override |
| Get the number of lanes of the Controller.
|
|
CLEDController & | setRgbw (const Rgbw &arg=RgbwDefault::value()) |
|
void | setEnabled (bool enabled) |
|
| CLEDController () |
| Create an led controller object, add it to the chain of controllers.
|
|
Rgbw | getRgbw () const |
|
VIRTUAL_IF_NOT_AVR void | clearLeds (int nLeds=-1) |
| Clear out/zero out the given number of LEDs.
|
|
VIRTUAL_IF_NOT_AVR void | showLeds (uint8_t brightness) |
|
ColorAdjustment | getAdjustmentData (uint8_t brightness) |
|
void | showInternal (const struct CRGB *data, int nLeds, uint8_t brightness) |
|
void | showColorInternal (const struct CRGB &data, int nLeds, uint8_t brightness) |
|
void | showLedsInternal (uint8_t brightness) |
| Write the data to the LEDs managed by this controller.
|
|
void | showColorInternal (const struct CRGB &data, uint8_t brightness) |
|
CLEDController * | next () |
| Get the next controller in the linked list after this one.
|
|
CLEDController & | setLeds (CRGB *data, int nLeds) |
| Set the default array of LEDs to be used by this controller.
|
|
void | clearLedDataInternal (int nLeds=-1) |
| Zero out the LED data managed by this controller.
|
|
virtual int | size () |
| How many LEDs does this controller manage?
|
|
CRGB * | leds () |
| Pointer to the CRGB array for this controller.
|
|
CRGB & | operator[] (int x) |
| Reference to the n'th LED managed by the controller.
|
|
CLEDController & | setDither (uint8_t ditherMode=BINARY_DITHER) |
| Set the dithering mode for this controller to use.
|
|
CLEDController & | setScreenMap (const fl::XYMap &map) |
|
CLEDController & | setScreenMap (const fl::ScreenMap &map) |
|
CLEDController & | setScreenMap (uint16_t width, uint16_t height) |
|
uint8_t | getDither () |
| Get the dithering option currently set for this controller.
|
|
virtual void * | beginShowLeds () |
|
virtual void | endShowLeds (void *data) |
|
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.
|
|
CRGB | getCorrection () |
| Get the correction value used by this controller.
|
|
CLEDController & | setTemperature (CRGB temperature) |
| Set the color temperature, aka white point, for this controller.
|
|
CLEDController & | setTemperature (ColorTemperature temperature) |
| Set the color temperature, aka white point, for this controller.
|
|
CRGB | getTemperature () |
| Get the color temperature, aka whipe point, for this controller.
|
|
CRGB | getAdjustment (uint8_t scale) |
| Get the combined brightness/color adjustment for this controller.
|
|
virtual uint16_t | getMaxRefreshRate () const |
| Gets the maximum possible refresh rate of the strip.
|
|