Removed experimental v2 segment API.

Bugfix for white value.
This commit is contained in:
Blaz Kristan 2021-10-21 21:33:26 +02:00
parent 7acc537c7a
commit 1cf793233f
5 changed files with 158 additions and 166 deletions

View File

@ -277,11 +277,12 @@ class BusPwm : public Bus {
case TYPE_ANALOG_2CH: //warm white + cold white case TYPE_ANALOG_2CH: //warm white + cold white
// perhaps a non-linear adjustment would be in order. need to test // perhaps a non-linear adjustment would be in order. need to test
_data[1] = (w * cct) / 255; _data[1] = (w * cct) / 255;
_data[0] = 255 - _data[1]; // or (w * (255-cct)) / 255; _data[0] = (w * (255-cct)) / 255;
break; break;
case TYPE_ANALOG_5CH: //RGB + warm white + cold white case TYPE_ANALOG_5CH: //RGB + warm white + cold white
// perhaps a non-linear adjustment would be in order. need to test // perhaps a non-linear adjustment would be in order. need to test
_data[4] = (w * cct) / 255; w = 255 - w; // or (w * (255-cct)) / 255; _data[4] = (w * cct) / 255;
w = (w * (255-cct)) / 255;
case TYPE_ANALOG_4CH: //RGBW case TYPE_ANALOG_4CH: //RGBW
_data[3] = w; _data[3] = w;
case TYPE_ANALOG_3CH: //standard dumb RGB case TYPE_ANALOG_3CH: //standard dumb RGB

View File

@ -1856,12 +1856,13 @@ function fromRgb()
setColor(0); setColor(0);
} }
// sets color from picker: 0=all, 1=leaving picker/HSV, 2=ignore white channel
function setColor(sr) function setColor(sr)
{ {
var cd = gId('csl').children; var cd = gId('csl').children; // color slots
if (sr == 1 && cd[csel].style.backgroundColor == 'rgb(0, 0, 0)') cpick.color.setChannel('hsv', 'v', 100); if (sr == 1 && cd[csel].style.backgroundColor == 'rgb(0,0,0)') cpick.color.setChannel('hsv', 'v', 100);
cd[csel].style.backgroundColor = cpick.color.rgbString; cd[csel].style.backgroundColor = cpick.color.rgbString;
if (sr != 2) whites[csel] = gId('sliderW').value; if (sr != 2) whites[csel] = parseInt(gId('sliderW').value);
var col = cpick.color.rgb; var col = cpick.color.rgb;
var obj = {"seg": {"col": [[col.r, col.g, col.b, whites[csel]],[],[]]}}; var obj = {"seg": {"col": [[col.r, col.g, col.b, whites[csel]],[],[]]}};
if (csel == 1) { if (csel == 1) {

View File

@ -7,7 +7,7 @@
*/ */
// Autogenerated from wled00/data/index.htm, do not edit!! // Autogenerated from wled00/data/index.htm, do not edit!!
const uint16_t PAGE_index_L = 34999; const uint16_t PAGE_index_L = 35000;
const uint8_t PAGE_index[] PROGMEM = { const uint8_t PAGE_index[] PROGMEM = {
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0xcc, 0x7d, 0x79, 0x7f, 0xe2, 0xb8, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x13, 0xcc, 0x7d, 0x79, 0x7f, 0xe2, 0xb8,
0xb2, 0xe8, 0xff, 0xf9, 0x14, 0x34, 0x3d, 0xd3, 0x83, 0x1b, 0x03, 0x66, 0xdf, 0xda, 0x93, 0x4b, 0xb2, 0xe8, 0xff, 0xf9, 0x14, 0x34, 0x3d, 0xd3, 0x83, 0x1b, 0x03, 0x66, 0xdf, 0xda, 0x93, 0x4b,
@ -2078,123 +2078,123 @@ const uint8_t PAGE_index[] PROGMEM = {
0x74, 0x76, 0x8a, 0x18, 0x49, 0x66, 0xe7, 0x5e, 0xe5, 0x83, 0x2c, 0x80, 0x09, 0x8c, 0xc5, 0xdf, 0x74, 0x76, 0x8a, 0x18, 0x49, 0x66, 0xe7, 0x5e, 0xe5, 0x83, 0x2c, 0x80, 0x09, 0x8c, 0xc5, 0xdf,
0xaf, 0x8d, 0xc9, 0x5c, 0xfa, 0xb6, 0xa5, 0xf6, 0xcb, 0xb0, 0x6d, 0xa1, 0xfd, 0x22, 0x6c, 0x5b, 0xaf, 0x8d, 0xc9, 0x5c, 0xfa, 0xb6, 0xa5, 0xf6, 0xcb, 0xb0, 0x6d, 0xa1, 0xfd, 0x22, 0x6c, 0x5b,
0xe6, 0x61, 0x1d, 0x50, 0x19, 0xcb, 0x4e, 0x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d1, 0xcd, 0x04, 0xf3, 0xe6, 0x34, 0x91, 0xec, 0x42, 0x6d, 0x1c,
0xa2, 0x77, 0x39, 0x36, 0xa6, 0xc6, 0x5c, 0x87, 0xc6, 0xa4, 0x74, 0x49, 0x56, 0x02, 0xc9, 0x21, 0x16, 0xbd, 0xcb, 0xb1, 0x31, 0x35, 0xe6, 0x3a, 0x34, 0x26, 0xa5, 0x4b, 0x32, 0x13, 0x48, 0x0e,
0x1e, 0x71, 0x50, 0x76, 0xfe, 0x78, 0x50, 0xf0, 0x22, 0x46, 0x46, 0x32, 0x8e, 0xc2, 0x53, 0x65, 0xf1, 0x8a, 0x83, 0xb2, 0xf3, 0xc7, 0x83, 0x83, 0x17, 0x31, 0x32, 0x93, 0x71, 0x34, 0x9e, 0x2a,
0xd3, 0xee, 0x65, 0xf1, 0xad, 0xf2, 0x3c, 0x39, 0x4e, 0x26, 0x29, 0xad, 0x72, 0xfd, 0x32, 0xcd, 0xab, 0x76, 0x2f, 0x8b, 0x6f, 0x95, 0x07, 0xca, 0x71, 0x32, 0x49, 0x69, 0x95, 0xeb, 0x97, 0x6a,
0xdd, 0x0a, 0x55, 0x84, 0xce, 0xfa, 0x55, 0x9e, 0x36, 0x6c, 0x07, 0x09, 0x29, 0xbd, 0x96, 0xe8, 0xee, 0x56, 0xa8, 0x22, 0x75, 0xd6, 0xaf, 0xf4, 0xb4, 0x81, 0x3b, 0x48, 0x48, 0xe9, 0xb5, 0x44,
0xcd, 0x66, 0xd0, 0xe6, 0x04, 0x6e, 0xb6, 0x95, 0xe3, 0x52, 0xa2, 0x1c, 0x97, 0x48, 0x04, 0x3e, 0x71, 0x36, 0x83, 0x37, 0x27, 0x70, 0xb7, 0xad, 0x1c, 0x98, 0x12, 0xe5, 0xc0, 0x44, 0xa2, 0xf0,
0x49, 0x4e, 0x11, 0x79, 0xb8, 0x35, 0x7e, 0x33, 0x47, 0x6d, 0x95, 0x8a, 0x8b, 0x8f, 0x04, 0x2d, 0x49, 0x72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, 0x0c, 0x8d, 0x95, 0x57, 0x13, 0xcd, 0x05, 0x82, 0x23, 0x74, 0x54, 0xbe, 0x5e, 0x56, 0x3c, 0x15, 0x67, 0x6a, 0xac, 0xbc, 0x9b,
0x68, 0xb3, 0x1d, 0x93, 0x27, 0x86, 0x15, 0x87, 0xa7, 0xa6, 0x91, 0x7f, 0x0d, 0x05, 0x6f, 0x99, 0x40, 0x9b, 0xed, 0xd8, 0x3c, 0x31, 0xac, 0x39, 0x3c, 0x35, 0x8d, 0xfc, 0x6b, 0x28, 0x78, 0xcc,
0x71, 0xcc, 0xcd, 0x90, 0x59, 0x24, 0x2e, 0x0f, 0x4f, 0xb2, 0xd3, 0x95, 0xa0, 0x39, 0xfc, 0x5b, 0x8c, 0x63, 0x6f, 0x86, 0xcc, 0x2c, 0x71, 0x79, 0x78, 0x92, 0x9d, 0xae, 0x04, 0xcd, 0xe1, 0xdf,
0x36, 0xea, 0x1d, 0x16, 0x9e, 0x9d, 0x72, 0xa2, 0xd8, 0x2d, 0x39, 0xe1, 0x84, 0xa8, 0x25, 0x52, 0xb2, 0x51, 0xef, 0xb0, 0xf0, 0xec, 0xd4, 0x13, 0xc5, 0x6e, 0xc9, 0x89, 0x27, 0x44, 0x2d, 0x91,
0xeb, 0x0a, 0x63, 0x91, 0xdd, 0xfe, 0xa9, 0xd7, 0x0a, 0x44, 0x65, 0x4d, 0x40, 0xb0, 0x00, 0x8e, 0x62, 0x57, 0x18, 0x8d, 0xec, 0xf6, 0x4f, 0xbd, 0x56, 0x20, 0x2a, 0xab, 0x02, 0x82, 0x05, 0x70,
0xaa, 0xc0, 0x06, 0x07, 0x86, 0x06, 0xe6, 0x53, 0x0b, 0x28, 0xc3, 0xa9, 0xc6, 0x86, 0xad, 0x0e, 0x54, 0x05, 0x36, 0x38, 0x30, 0x38, 0x30, 0x9f, 0x5a, 0x40, 0x19, 0xce, 0x35, 0x36, 0x6c, 0x75,
0x97, 0x51, 0x51, 0x82, 0x67, 0xda, 0x82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x5c, 0xc8, 0x6f, 0xa8, 0x31, 0x90, 0x87, 0xf5, 0x15, 0x4b, 0x9c, 0xb2,
0xf0, 0x1b, 0x4f, 0xd4, 0xe4, 0x26, 0x49, 0xa8, 0x76, 0x7d, 0x9c, 0x11, 0x4f, 0xd4, 0xbb, 0x5a, 0x82, 0xdf, 0x78, 0xa2, 0x26, 0x37, 0x49, 0x42, 0xb5, 0xeb, 0xe3, 0x8c, 0x78, 0xa2, 0xde, 0xd5,
0x3c, 0x55, 0x8d, 0x3b, 0x26, 0x6e, 0xaf, 0xaa, 0xf7, 0xbf, 0x0e, 0xf7, 0x88, 0x90, 0x27, 0x8b, 0xe2, 0xa9, 0x6a, 0xdc, 0x31, 0x71, 0x7b, 0x55, 0xbd, 0xff, 0x75, 0xb8, 0x47, 0x84, 0x3c, 0x59,
0x72, 0xe4, 0x1c, 0xee, 0x21, 0x6a, 0x20, 0xfe, 0xce, 0xcb, 0xcb, 0x74, 0xe4, 0xfc, 0x3f, 0xb0, 0x94, 0x23, 0xe7, 0x70, 0x0f, 0xd1, 0x03, 0xf1, 0x77, 0x5e, 0x5e, 0xa6, 0x23, 0xe7, 0xff, 0x01,
0x4c, 0x4b, 0x56, 0x86, 0x9a, 0x01, 0x00 0x20, 0x6f, 0xed, 0x74, 0x8e, 0x9a, 0x01, 0x00
}; };

View File

@ -83,49 +83,39 @@ void deserializeSegment(JsonObject elem, byte it, byte presetId)
{ {
int rgbw[] = {0,0,0,0}; int rgbw[] = {0,0,0,0};
bool colValid = false; bool colValid = false;
if (colarr[i].is<unsigned long>()) { JsonArray colX = colarr[i];
// unsigned long RGBW (@blazoncek v2 experimental API implementation) if (colX.isNull()) {
uint32_t colX = colarr[i]; byte brgbw[] = {0,0,0,0};
rgbw[0] = (colX >> 16) & 0xFF; const char* hexCol = colarr[i];
rgbw[1] = (colX >> 8) & 0xFF; if (hexCol == nullptr) { //Kelvin color temperature (or invalid), e.g 2400
rgbw[2] = (colX ) & 0xFF; int kelvin = colarr[i] | -1;
rgbw[3] = (colX >> 24) & 0xFF; //kelvin = map(seg.cct, 0, 255, 2800, 10200)
colValid = true; if (kelvin < 0) continue;
} else { if (kelvin == 0) seg.setColor(i, 0, id);
JsonArray colX = colarr[i]; if (kelvin > 0) colorKtoRGB(kelvin, brgbw);
if (colX.isNull()) {
byte brgbw[] = {0,0,0,0};
const char* hexCol = colarr[i];
if (hexCol == nullptr) { //Kelvin color temperature (or invalid), e.g 2400
int kelvin = colarr[i] | -1;
//kelvin = map(seg.cct, 0, 255, 2800, 10200)
if (kelvin < 0) continue;
if (kelvin == 0) seg.setColor(i, 0, id);
if (kelvin > 0) colorKtoRGB(kelvin, brgbw);
colValid = true;
} else { //HEX string, e.g. "FFAA00"
colValid = colorFromHexString(brgbw, hexCol);
}
for (uint8_t c = 0; c < 4; c++) rgbw[c] = brgbw[c];
} else { //Array of ints (RGB or RGBW color), e.g. [255,160,0]
byte sz = colX.size();
if (sz == 0) continue; //do nothing on empty array
byte cp = copyArray(colX, rgbw, 4);
if (cp == 1 && rgbw[0] == 0)
seg.setColor(i, 0, id);
colValid = true; colValid = true;
} else { //HEX string, e.g. "FFAA00"
colValid = colorFromHexString(brgbw, hexCol);
} }
for (uint8_t c = 0; c < 4; c++) rgbw[c] = brgbw[c];
} else { //Array of ints (RGB or RGBW color), e.g. [255,160,0]
byte sz = colX.size();
if (sz == 0) continue; //do nothing on empty array
if (!colValid) continue; byte cp = copyArray(colX, rgbw, 4);
if (id == strip.getMainSegmentId() && i < 2) //temporary, to make transition work on main segment if (cp == 1 && rgbw[0] == 0)
{ seg.setColor(i, 0, id);
if (i == 0) {col[0] = rgbw[0]; col[1] = rgbw[1]; col[2] = rgbw[2]; col[3] = rgbw[3];} colValid = true;
if (i == 1) {colSec[0] = rgbw[0]; colSec[1] = rgbw[1]; colSec[2] = rgbw[2]; colSec[3] = rgbw[3];} }
} else { //normal case, apply directly to segment
seg.setColor(i, ((rgbw[3] << 24) | ((rgbw[0]&0xFF) << 16) | ((rgbw[1]&0xFF) << 8) | ((rgbw[2]&0xFF))), id); if (!colValid) continue;
if (seg.mode == FX_MODE_STATIC) strip.trigger(); //instant refresh if (id == strip.getMainSegmentId() && i < 2) //temporary, to make transition work on main segment
} {
if (i == 0) {col[0] = rgbw[0]; col[1] = rgbw[1]; col[2] = rgbw[2]; col[3] = rgbw[3];}
if (i == 1) {colSec[0] = rgbw[0]; colSec[1] = rgbw[1]; colSec[2] = rgbw[2]; colSec[3] = rgbw[3];}
} else { //normal case, apply directly to segment
seg.setColor(i, ((rgbw[3] << 24) | ((rgbw[0]&0xFF) << 16) | ((rgbw[1]&0xFF) << 8) | ((rgbw[2]&0xFF))), id);
if (seg.mode == FX_MODE_STATIC) strip.trigger(); //instant refresh
} }
} }
} }

View File

@ -8,7 +8,7 @@
*/ */
// version code in format yymmddb (b = daily build) // version code in format yymmddb (b = daily build)
#define VERSION 2110171 #define VERSION 2110211
//uncomment this if you have a "my_config.h" file you'd like to use //uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG //#define WLED_USE_MY_CONFIG