|
FastLED 3.9.15
|
Defines utility functions for the red, green, and blue (RGB) pixel struct.
Definition in file crgb.hpp.
#include "fl/stdint.h"#include "chsv.h"#include "crgb.h"#include "lib8tion.h"#include "fl/namespace.h"#include "fl/force_inline.h"#include "fl/str.h"#include "fl/compiler_control.h"
Include dependency graph for crgb.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | FUNCTION_SCALE8(a, b) |
Functions | |
| FASTLED_FORCE_INLINE CRGB | operator% (const CRGB &p1, uint8_t d) |
| Scale using CRGB::nscale8_video() | |
| FASTLED_FORCE_INLINE CRGB | operator* (const CRGB &p1, uint8_t d) |
| Multiply each of the channels by a constant, saturating each channel at 0xFF. | |
| FASTLED_FORCE_INLINE CRGB | operator+ (const CRGB &p1, const CRGB &p2) |
| Add one CRGB to another, saturating at 0xFF for each channel. | |
| FASTLED_FORCE_INLINE CRGB | operator- (const CRGB &p1, const CRGB &p2) |
| Subtract one CRGB from another, saturating at 0x00 for each channel. | |