FastLED 3.9.15
Loading...
Searching...
No Matches

◆ noAdjustment()

static ColorAdjustment ColorAdjustment::noAdjustment ( )
inlinestatic

the per-channel scale values premixed with brightness.

Create a ColorAdjustment with no scaling or brightness adjustment Static functions are allowed without breaking POD compatibility

Definition at line 83 of file pixel_controller.h.

83 {
84 ColorAdjustment adj;
85 adj.premixed = CRGB(255, 255, 255);
86 #if FASTLED_HD_COLOR_MIXING
87 adj.color = CRGB(255, 255, 255);
88 adj.brightness = 255;
89 #endif
90 return adj;
91 }
fl::CRGB CRGB
Definition crgb.h:25

References premixed.

Referenced by buildExpectedUCS7604(), and fl::UCS7604ControllerT< DATA_PIN, RGB_ORDER, fl::UCS7604Mode::UCS7604_MODE_8BIT_800KHZ, fl::TIMING_UCS7604_800KHZ, CLOCKLESS_CONTROLLER >::showPixels().

+ Here is the caller graph for this function: