diff --git a/bin/wled04_1712121_RGB.bin b/bin/wled04_1712122_RGB.bin similarity index 95% rename from bin/wled04_1712121_RGB.bin rename to bin/wled04_1712122_RGB.bin index cf9c17f65..da89eec63 100644 Binary files a/bin/wled04_1712121_RGB.bin and b/bin/wled04_1712122_RGB.bin differ diff --git a/bin/wled04_1712121_RGBW.bin b/bin/wled04_1712122_RGBW.bin similarity index 95% rename from bin/wled04_1712121_RGBW.bin rename to bin/wled04_1712122_RGBW.bin index fd8d13f17..615a5d1cc 100644 Binary files a/bin/wled04_1712121_RGBW.bin and b/bin/wled04_1712122_RGBW.bin differ diff --git a/wled00/WS2812FX.h b/wled00/WS2812FX.h index 74d5b0997..e315e6c21 100644 --- a/wled00/WS2812FX.h +++ b/wled00/WS2812FX.h @@ -1,4 +1,4 @@ -#define RGBW +//#define RGBW /* WS2812FX.h - Library for WS2812 LED effects. diff --git a/wled00/data/index-min.htm b/wled00/data/index-min.htm index 5075dfcac..39cd80918 100644 --- a/wled00/data/index-min.htm +++ b/wled00/data/index-min.htm @@ -1,8 +1,8 @@ -WLED 0.4p - +WLED 0.4 + diff --git a/wled00/data/index.htm b/wled00/data/index.htm index f7ee2c401..1d4b8c0f5 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -59,8 +59,8 @@ d.Cf.SX.value = this.responseXML.getElementsByTagName('sx')[0].childNodes[0].nodeValue; nla = (this.responseXML.getElementsByTagName('nl')[0].innerHTML)!=0?true:false; nState = 0; - nState = (this.responseXML.getElementsByTagName('nr')[0].innerHTML)!=0?true:false; - nState += 2*(this.responseXML.getElementsByTagName('ns')[0].innerHTML)!=0?true:false; + nState = (this.responseXML.getElementsByTagName('nr')[0].innerHTML)!=0?1:0; + nState += (this.responseXML.getElementsByTagName('ns')[0].innerHTML)!=0?2:0; hsb = (this.responseXML.getElementsByTagName('md')[0].innerHTML)!=0?true:false; d.getElementsByClassName("desc")[0].innerHTML = this.responseXML.getElementsByTagName('desc')[0].innerHTML; UV(); @@ -68,7 +68,6 @@ } } } - // send HTTP request request.open("GET", "win/" +resp +nocache, true); request.send(null); resp=""; diff --git a/wled00/htmls00.h b/wled00/htmls00.h index 4fce45167..c6d3b432d 100644 --- a/wled00/htmls00.h +++ b/wled00/htmls00.h @@ -26,7 +26,7 @@ const char PAGE_index0[] PROGMEM = R"=====( WLED 0.4 - + )====="; diff --git a/wled00/wled00.ino b/wled00/wled00.ino index 0c7dab29a..e2445301a 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -20,7 +20,7 @@ #include "WS2812FX.h" //version in format yymmddb (b = daily build) -#define VERSION 1712121 +#define VERSION 1712122 //If you have an RGBW strip, uncomment first line in WS2812FX.h! @@ -96,7 +96,7 @@ boolean turnOnAtBoot = true; uint8_t bootPreset = 0; byte col_s[]{255, 159, 0}; byte col_sec_s[]{0, 0, 0}; -boolean useRGBW = true; +boolean useRGBW = false; byte white_s = 0; byte white_sec_s = 0; byte bri_s = 127;