Callback for Note or CC range or value input that displays the value to a FastLED strip. More...
#include <FastLED.hpp>
Public Member Functions | |
NoteCCFastLED (CRGB *ledcolors, const ColorMapper &colormapper) | |
void | setBrightness (uint8_t brightness) |
Set the maximum brightness of the LEDs. More... | |
uint8_t | getBrightness () const |
Get the maximum brightness of the LEDs. More... | |
void | begin (const INoteCCValue &t) override |
void | update (const INoteCCValue &t, uint8_t index) override |
virtual void | updateAll (const INoteCCValue ¬eccval) |
Public Attributes | |
ColorMapper | colormapper |
Private Attributes | |
CRGB * | ledcolors |
uint8_t | brightness = 255 |
Callback for Note or CC range or value input that displays the value to a FastLED strip.
Definition at line 38 of file FastLED.hpp.
|
inline |
Definition at line 40 of file FastLED.hpp.
|
inline |
Set the maximum brightness of the LEDs.
brightness | The maximum brightness [0, 255] |
Definition at line 48 of file FastLED.hpp.
|
inline |
Get the maximum brightness of the LEDs.
Definition at line 50 of file FastLED.hpp.
|
inlineoverridevirtual |
Reimplemented from SimpleNoteCCValueCallback.
Definition at line 52 of file FastLED.hpp.
|
inlineoverridevirtual |
Implements SimpleNoteCCValueCallback.
Definition at line 56 of file FastLED.hpp.
|
inlinevirtualinherited |
Definition at line 36 of file NoteCCRange.hpp.
|
private |
Definition at line 63 of file FastLED.hpp.
|
private |
Definition at line 64 of file FastLED.hpp.
ColorMapper NoteCCFastLED< ColorMapper >::colormapper |
Definition at line 67 of file FastLED.hpp.