Full release of v0.5.0
Fixed button not working Fixed effectIntensity notification Fixed UDP port field too small with most fonts
This commit is contained in:
parent
6ebe889d5e
commit
a6fd36e1b9
Binary file not shown.
Binary file not shown.
@ -191,7 +191,7 @@ const char PAGE_settings_sync1[] PROGMEM = R"=====(
|
|||||||
<h3>Button setup</h3>
|
<h3>Button setup</h3>
|
||||||
On/Off button enabled: <input type="checkbox" name="BTNON">
|
On/Off button enabled: <input type="checkbox" name="BTNON">
|
||||||
<h3>WLED Broadcast</h3>
|
<h3>WLED Broadcast</h3>
|
||||||
UDP Port: <input name="NUDPP" maxlength="5" size="2"><br>
|
UDP Port: <input name="NUDPP" maxlength="5" size="4"><br>
|
||||||
Receive <input type="checkbox" name="NRCBR">Brightness, <input type="checkbox" name="NRCCL">Color, and <input type="checkbox" name="NRCFX">Effects<br>
|
Receive <input type="checkbox" name="NRCBR">Brightness, <input type="checkbox" name="NRCCL">Color, and <input type="checkbox" name="NRCFX">Effects<br>
|
||||||
Send notifications on direct change: <input type="checkbox" name="NSDIR"> <br>
|
Send notifications on direct change: <input type="checkbox" name="NSDIR"> <br>
|
||||||
Send notifications on button press: <input type="checkbox" name="NSBTN"> <br>
|
Send notifications on button press: <input type="checkbox" name="NSBTN"> <br>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include "WS2812FX.h"
|
#include "WS2812FX.h"
|
||||||
|
|
||||||
//version in format yymmddb (b = daily build)
|
//version in format yymmddb (b = daily build)
|
||||||
#define VERSION 1802221
|
#define VERSION 1802222
|
||||||
const String versionString = "0.5.0";
|
const String versionString = "0.5.0";
|
||||||
|
|
||||||
//AP and OTA default passwords (change them!)
|
//AP and OTA default passwords (change them!)
|
||||||
|
@ -210,7 +210,6 @@ void handleSettingsSet(uint8_t subPage)
|
|||||||
}
|
}
|
||||||
useGammaCorrectionBri = server.hasArg("GCBRI");
|
useGammaCorrectionBri = server.hasArg("GCBRI");
|
||||||
useGammaCorrectionRGB = server.hasArg("GCRGB");
|
useGammaCorrectionRGB = server.hasArg("GCRGB");
|
||||||
buttonEnabled = server.hasArg("BTNON");
|
|
||||||
fadeTransition = server.hasArg("TFADE");
|
fadeTransition = server.hasArg("TFADE");
|
||||||
sweepTransition = server.hasArg("TSWEE");
|
sweepTransition = server.hasArg("TSWEE");
|
||||||
sweepDirection = !server.hasArg("TSDIR");
|
sweepDirection = !server.hasArg("TSDIR");
|
||||||
@ -267,6 +266,7 @@ void handleSettingsSet(uint8_t subPage)
|
|||||||
//SYNC
|
//SYNC
|
||||||
if (subPage == 4)
|
if (subPage == 4)
|
||||||
{
|
{
|
||||||
|
buttonEnabled = server.hasArg("BTNON");
|
||||||
if (server.hasArg("NUDPP"))
|
if (server.hasArg("NUDPP"))
|
||||||
{
|
{
|
||||||
udpPort = server.arg("NUDPP").toInt();
|
udpPort = server.arg("NUDPP").toInt();
|
||||||
|
@ -78,9 +78,9 @@ void handleNotifications()
|
|||||||
effectSpeed = udpIn[9];
|
effectSpeed = udpIn[9];
|
||||||
strip.setSpeed(effectSpeed);
|
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);
|
strip.setIntensity(effectIntensity);
|
||||||
}
|
}
|
||||||
nightlightActive = udpIn[6];
|
nightlightActive = udpIn[6];
|
||||||
|
Loading…
Reference in New Issue
Block a user