Skip to content

Commit 71886c1

Browse files
committed
Release of WLED v0.10.0
DMX Single RGW and Single DRGB modes now support an additional white channel Improved palettes derived from set colors and changed their names
1 parent df1f516 commit 71886c1

File tree

10 files changed

+35
-25
lines changed

10 files changed

+35
-25
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
## WLED changelog
22

3-
### Development versions after 0.9.1 release
3+
### WLED version 0.10.0
4+
5+
#### Build 2005030
6+
7+
- DMX Single RGW and Single DRGB modes now support an additional white channel
8+
- Improved palettes derived from set colors and changed their names
9+
10+
### Development versions between 0.9.1 and 0.10.0 release
411

512
#### Build 2005020
613

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA -D WLED_DISABLE_
183183
board = esp01_1m
184184
platform = ${common.platform_latest}
185185
board_build.ldscript = ${common.ldscript_1m0m}
186-
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED
186+
build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_CRONIXIE -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_INFRARED
187187

188188
[env:esp01_1m_full]
189189
board = esp01_1m

wled00/FX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ const char JSON_mode_names[] PROGMEM = R"=====([
672672

673673

674674
const char JSON_palette_names[] PROGMEM = R"=====([
675-
"Default","Random Cycle","Primary Color","Based on Primary","Set Colors","Based on Set","Party","Cloud","Lava","Ocean",
675+
"Default","* Random Cycle","* Color 1","* Colors 1&2","* Color Gradient","* Colors Only","Party","Cloud","Lava","Ocean",
676676
"Forest","Rainbow","Rainbow Bands","Sunset","Rivendell","Breeze","Red & Blue","Yellowout","Analogous","Splash",
677677
"Pastel","Sunset 2","Beech","Vintage","Departure","Landscape","Beach","Sherbet","Hult","Hult 64",
678678
"Drywet","Jul","Grintage","Rewhi","Tertiary","Fire","Icefire","Cyane","Light Pink","Autumn",

wled00/FX_fcn.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -743,25 +743,25 @@ void WS2812FX::handle_palette(void)
743743
case 2: {//primary color only
744744
CRGB prim = col_to_crgb(SEGCOLOR(0));
745745
targetPalette = CRGBPalette16(prim); break;}
746-
case 3: {//based on primary
747-
//considering performance implications
748-
CRGB prim = col_to_crgb(SEGCOLOR(0));
749-
CHSV prim_hsv = rgb2hsv_approximate(prim);
750-
targetPalette = CRGBPalette16(
751-
CHSV(prim_hsv.h, prim_hsv.s, prim_hsv.v), //color itself
752-
CHSV(prim_hsv.h, MAX(prim_hsv.s - 50,0), prim_hsv.v), //less saturated
753-
CHSV(prim_hsv.h, prim_hsv.s, MAX(prim_hsv.v - 50,0)), //darker
754-
CHSV(prim_hsv.h, prim_hsv.s, prim_hsv.v)); //color itself
755-
break;}
756-
case 4: {//primary + secondary
746+
case 3: {//primary + secondary
757747
CRGB prim = col_to_crgb(SEGCOLOR(0));
758748
CRGB sec = col_to_crgb(SEGCOLOR(1));
759-
targetPalette = CRGBPalette16(sec,prim); break;}
760-
case 5: {//based on primary + secondary
749+
targetPalette = CRGBPalette16(prim,prim,sec,sec); break;}
750+
case 4: {//primary + secondary + tertiary
761751
CRGB prim = col_to_crgb(SEGCOLOR(0));
762752
CRGB sec = col_to_crgb(SEGCOLOR(1));
763753
CRGB ter = col_to_crgb(SEGCOLOR(2));
764754
targetPalette = CRGBPalette16(ter,sec,prim); break;}
755+
case 5: {//primary + secondary (+tert if not off), more distinct
756+
CRGB prim = col_to_crgb(SEGCOLOR(0));
757+
CRGB sec = col_to_crgb(SEGCOLOR(1));
758+
if (SEGCOLOR(2)) {
759+
CRGB ter = col_to_crgb(SEGCOLOR(2));
760+
targetPalette = CRGBPalette16(prim,prim,prim,prim,prim,sec,sec,sec,sec,sec,ter,ter,ter,ter,ter,prim);
761+
} else {
762+
targetPalette = CRGBPalette16(prim,prim,prim,prim,prim,prim,prim,prim,sec,sec,sec,sec,sec,sec,sec,sec);
763+
}
764+
break;}
765765
case 6: //Party colors
766766
targetPalette = PartyColors_p; break;
767767
case 7: //Cloud colors

wled00/data/index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@
950950
<button class="btn infobtn" onclick="toggleInfo()">Close Info</button><br>
951951
<button class="btn infobtn" onclick="openGH()">WLED Wiki</button>
952952
<button class="btn infobtn" id="resetbtn" onclick="cnfReset()">Reboot WLED</button><br>
953-
<span class="h">Made with <span id="heart">&#x2764;</span> by Aircoookie and the WLED community</span>
953+
<span class="h">Made with <span id="heart">&#10084;</span> by Aircoookie and the WLED community</span>
954954
</div>
955955

956956
<div id="rover" class="modal">

wled00/data/settings_sec.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h3>Software Update</h3>
8888
<button type="button" onclick="U()">Manual OTA Update</button><br>
8989
Enable ArduinoOTA: <input type="checkbox" name="AO"><br>
9090
<h3>About</h3>
91-
<a href="https://github.com/Aircoookie/WLED" target="_blank">WLED</a> version 0.10.0p<br><br>
91+
<a href="https://github.com/Aircoookie/WLED" target="_blank">WLED</a> version 0.10.0<br><br>
9292
<a href="https://github.com/Aircoookie/WLED/wiki/Contributors-&-About" target="_blank">Contributors, dependencies and special thanks</a><br>
9393
A huge thank you to everyone who helped me create WLED!<br><br>
9494
(c) 2016-2019 Christian Schwinne <br>

wled00/e131.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ void handleE131Packet(e131_packet_t* p, IPAddress clientIP, bool isArtnet){
4646

4747
// update status info
4848
realtimeIP = clientIP;
49+
byte wChannel = 0;
4950

5051
switch (DMXMode) {
5152
case DMX_MODE_DISABLED:
@@ -57,22 +58,24 @@ void handleE131Packet(e131_packet_t* p, IPAddress clientIP, bool isArtnet){
5758
if (dmxChannels-DMXAddress+1 < 3) return;
5859
realtimeLock(realtimeTimeoutMs, mde);
5960
if (realtimeOverride) return;
61+
wChannel = (dmxChannels-DMXAddress+1 > 3) ? e131_data[DMXAddress+3] : 0;
6062
for (uint16_t i = 0; i < ledCount; i++)
61-
setRealtimePixel(i, e131_data[DMXAddress+0], e131_data[DMXAddress+1], e131_data[DMXAddress+2], 0);
63+
setRealtimePixel(i, e131_data[DMXAddress+0], e131_data[DMXAddress+1], e131_data[DMXAddress+2], wChannel);
6264
break;
6365

6466
case DMX_MODE_SINGLE_DRGB:
6567
if (uni != e131Universe) return;
6668
if (dmxChannels-DMXAddress+1 < 4) return;
6769
realtimeLock(realtimeTimeoutMs, mde);
6870
if (realtimeOverride) return;
71+
wChannel = (dmxChannels-DMXAddress+1 > 4) ? e131_data[DMXAddress+4] : 0;
6972
if (DMXOldDimmer != e131_data[DMXAddress+0]) {
7073
DMXOldDimmer = e131_data[DMXAddress+0];
7174
bri = e131_data[DMXAddress+0];
7275
strip.setBrightness(bri);
7376
}
7477
for (uint16_t i = 0; i < ledCount; i++)
75-
setRealtimePixel(i, e131_data[DMXAddress+1], e131_data[DMXAddress+2], e131_data[DMXAddress+3], 0);
78+
setRealtimePixel(i, e131_data[DMXAddress+1], e131_data[DMXAddress+2], e131_data[DMXAddress+3], wChannel);
7679
break;
7780

7881
case DMX_MODE_EFFECT:

wled00/html_other.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const char PAGE_dmxmap[] PROGMEM = R"=====(<!DOCTYPE html>
5050
const char PAGE_update[] PROGMEM = R"=====(<!DOCTYPE html>
5151
<html><head><meta content='width=device-width' name='viewport'><title>WLED Update</title><script>function B(){window.history.back()}</script>
5252
<style>.bt{background:#333;color:#fff;font-family:Verdana,sans-serif;border:.3ch solid #333;display:inline-block;font-size:20px;margin:8px;margin-top:12px}input[type=file]{font-size:16px}body{font-family:Verdana,sans-serif;text-align:center;background:#222;color:#fff;line-height:200%}</style></head>
53-
<body><h2>WLED Software Update</h2>Installed version: 0.10.0p<br>Download the latest binary: <a href="https://github.com/Aircoookie/WLED/releases"><img src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square"></a><br><form method='POST' action='/update' enctype='multipart/form-data'><input type='file' class="bt" name='update' required><br><input type='submit' class="bt" value='Update!'></form><button type="button" class="bt" onclick="B()">Back</button></body></html>)=====";
53+
<body><h2>WLED Software Update</h2>Installed version: 0.10.0<br>Download the latest binary: <a href="https://github.com/Aircoookie/WLED/releases"><img src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square"></a><br><form method='POST' action='/update' enctype='multipart/form-data'><input type='file' class="bt" name='update' required><br><input type='submit' class="bt" value='Update!'></form><button type="button" class="bt" onclick="B()">Back</button></body></html>)=====";
5454
5555
5656
//new user welcome page

wled00/html_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ HTTP traffic is unencrypted. An attacker in the same network can intercept form
472472
<button type="button" onclick="U()">Manual OTA Update</button><br>
473473
Enable ArduinoOTA: <input type="checkbox" name="AO"><br>
474474
<h3>About</h3>
475-
<a href="https://github.com/Aircoookie/WLED" target="_blank">WLED</a> version 0.10.0p<br><br>
475+
<a href="https://github.com/Aircoookie/WLED" target="_blank">WLED</a> version 0.10.0<br><br>
476476
<a href="https://github.com/Aircoookie/WLED/wiki/Contributors-&-About" target="_blank">Contributors, dependencies and special thanks</a><br>
477477
A huge thank you to everyone who helped me create WLED!<br><br>
478478
(c) 2016-2020 Christian Schwinne <br>

wled00/wled.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/*
44
Main sketch, global variable declarations
55
@title WLED project sketch
6-
@version 0.10.0p
6+
@version 0.10.0
77
@author Christian Schwinne
88
*/
99

1010
// version code in format yymmddb (b = daily build)
11-
#define VERSION 2005020
11+
#define VERSION 2005030
1212

1313
// ESP8266-01 (blue) got too little storage space to work with all features of WLED. To use it, you must use ESP8266 Arduino Core v2.4.2 and the setting 512K(No SPIFFS).
1414

@@ -148,7 +148,7 @@
148148
#endif
149149

150150
// Global Variable definitions
151-
WLED_GLOBAL char versionString[] _INIT("0.10.0p");
151+
WLED_GLOBAL char versionString[] _INIT("0.10.0");
152152
#define WLED_CODENAME "Namigai"
153153

154154
// AP and OTA default passwords (for maximum security change them!)

0 commit comments

Comments
 (0)