From a6fd36e1b92a7e7f84bad2c34914d1c53879ce13 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Fri, 23 Feb 2018 12:22:58 +0100 Subject: [PATCH] Full release of v0.5.0 Fixed button not working Fixed effectIntensity notification Fixed UDP port field too small with most fonts --- wled00/data/settings_leds.htm | Bin 8398 -> 8250 bytes wled00/data/settings_sync.htm | Bin 8060 -> 7912 bytes wled00/htmls01.h | 2 +- wled00/wled00.ino | 2 +- wled00/wled03_set.ino | 2 +- wled00/wled07_notify.ino | 4 ++-- 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wled00/data/settings_leds.htm b/wled00/data/settings_leds.htm index ccec6d6200984f5baff8ebe79390ea3ad61b6b1a..14d21096d9e754dbd21144cfa178359bcf91783a 100644 GIT binary patch delta 10 RcmX@-xXWRJ!^SJWBEdiQZ4m3TFAw>wN Wy&Nd0%V5Z0#9#`BEdiQZ4m3TFAw>wN fy&Nd0%V5Z0#9#`Button setup On/Off button enabled:

WLED Broadcast

-UDP Port:
+UDP Port:
Receive Brightness, Color, and Effects
Send notifications on direct change:
Send notifications on button press:
diff --git a/wled00/wled00.ino b/wled00/wled00.ino index 6bc177db..49ae7d72 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -30,7 +30,7 @@ #include "WS2812FX.h" //version in format yymmddb (b = daily build) -#define VERSION 1802221 +#define VERSION 1802222 const String versionString = "0.5.0"; //AP and OTA default passwords (change them!) diff --git a/wled00/wled03_set.ino b/wled00/wled03_set.ino index 5b1c7f1c..76ee6999 100644 --- a/wled00/wled03_set.ino +++ b/wled00/wled03_set.ino @@ -210,7 +210,6 @@ void handleSettingsSet(uint8_t subPage) } useGammaCorrectionBri = server.hasArg("GCBRI"); useGammaCorrectionRGB = server.hasArg("GCRGB"); - buttonEnabled = server.hasArg("BTNON"); fadeTransition = server.hasArg("TFADE"); sweepTransition = server.hasArg("TSWEE"); sweepDirection = !server.hasArg("TSDIR"); @@ -267,6 +266,7 @@ void handleSettingsSet(uint8_t subPage) //SYNC if (subPage == 4) { + buttonEnabled = server.hasArg("BTNON"); if (server.hasArg("NUDPP")) { udpPort = server.arg("NUDPP").toInt(); diff --git a/wled00/wled07_notify.ino b/wled00/wled07_notify.ino index a1b63c5d..5d2256d3 100644 --- a/wled00/wled07_notify.ino +++ b/wled00/wled07_notify.ino @@ -78,9 +78,9 @@ void handleNotifications() effectSpeed = udpIn[9]; strip.setSpeed(effectSpeed); } - if (udpIn[11] > 3 && udpIn[16] != effectIntensity && receiveNotificationEffects) + if (udpIn[11] > 2 && udpIn[16] != effectIntensity && receiveNotificationEffects) { - effectSpeed = udpIn[16]; + effectIntensity = udpIn[16]; strip.setIntensity(effectIntensity); } nightlightActive = udpIn[6];