BTNPIN can now be disabled by setting to -1 (fixes #1237)

Added HEX color receiving to JSON API
Moved Kelvin color receiving in JSON API
This commit is contained in:
cschwinne
2020-11-20 00:33:17 +01:00
parent e19ab9a0d5
commit 4875f5e275
8 changed files with 69 additions and 30 deletions

View File

@@ -43,6 +43,7 @@ void colorXYtoRGB(float x, float y, byte* rgb); // only defined if huesync disab
void colorRGBtoXY(byte* rgb, float* xy); // only defined if huesync disabled TODO
void colorFromDecOrHexString(byte* rgb, char* in);
bool colorFromHexString(byte* rgb, const char* in);
void colorRGBtoRGBW(byte* rgb); //rgb to rgbw (http://codewelt.com/rgbw). (RGBW_MODE_LEGACY)
//dmx.cpp