added some minor fixes
-fastled flags -gamma correction -pass by reference instead of pointer
This commit is contained in:
@@ -65,7 +65,7 @@ class NeoGammaWLEDMethod {
|
||||
uint32_t color_blend(uint32_t,uint32_t,uint16_t,bool b16=false);
|
||||
uint32_t color_add(uint32_t,uint32_t, bool fast=false);
|
||||
uint32_t color_fade(uint32_t c1, uint8_t amount, bool video=false);
|
||||
CRGBPalette16 generateRandomPalette(CRGBPalette16* basepalette);
|
||||
CRGBPalette16 generateRandomPalette(CRGBPalette16 &basepalette);
|
||||
inline uint32_t colorFromRgbw(byte* rgbw) { return uint32_t((byte(rgbw[3]) << 24) | (byte(rgbw[0]) << 16) | (byte(rgbw[1]) << 8) | (byte(rgbw[2]))); }
|
||||
void colorHStoRGB(uint16_t hue, byte sat, byte* rgb); //hue, sat to rgb
|
||||
void colorKtoRGB(uint16_t kelvin, byte* rgb);
|
||||
|
||||
Reference in New Issue
Block a user