mirror of
https://github.com/wled/WLED.git
synced 2025-07-28 05:06:34 +00:00
rename settings
This commit is contained in:
parent
aed03cd03b
commit
5525a21696
@ -526,7 +526,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
|
|||||||
#ifdef WLED_ENABLE_DMX_INPUT
|
#ifdef WLED_ENABLE_DMX_INPUT
|
||||||
CJSON(dmxInputTransmitPin, if_live_dmx[F("inputRxPin")]);
|
CJSON(dmxInputTransmitPin, if_live_dmx[F("inputRxPin")]);
|
||||||
CJSON(dmxInputReceivePin, if_live_dmx[F("inputTxPin")]);
|
CJSON(dmxInputReceivePin, if_live_dmx[F("inputTxPin")]);
|
||||||
CJSON(dmxInputEnablePin, if_live_dmx[F("enablePin")]);
|
CJSON(dmxInputEnablePin, if_live_dmx[F("inputEnablePin")]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CJSON(arlsForceMaxBri, if_live[F("maxbri")]);
|
CJSON(arlsForceMaxBri, if_live[F("maxbri")]);
|
||||||
@ -1009,9 +1009,9 @@ void serializeConfig() {
|
|||||||
if_live_dmx[F("dss")] = DMXSegmentSpacing;
|
if_live_dmx[F("dss")] = DMXSegmentSpacing;
|
||||||
if_live_dmx["mode"] = DMXMode;
|
if_live_dmx["mode"] = DMXMode;
|
||||||
#ifdef WLED_ENABLE_DMX_INPUT
|
#ifdef WLED_ENABLE_DMX_INPUT
|
||||||
if_live_dmx[F("rxPin")] = dmxInputTransmitPin;
|
if_live_dmx[F("inputRxPin")] = dmxInputTransmitPin;
|
||||||
if_live_dmx[F("txPin")] = dmxInputReceivePin;
|
if_live_dmx[F("inputTxPin")] = dmxInputReceivePin;
|
||||||
if_live_dmx[F("enablePin")] = dmxInputEnablePin;
|
if_live_dmx[F("inputEnablePin")] = dmxInputEnablePin;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if_live[F("timeout")] = realtimeTimeoutMs / 100;
|
if_live[F("timeout")] = realtimeTimeoutMs / 100;
|
||||||
|
@ -151,6 +151,18 @@ Timeout: <input name="ET" type="number" min="1" max="65000" required> ms<br>
|
|||||||
Force max brightness: <input type="checkbox" name="FB"><br>
|
Force max brightness: <input type="checkbox" name="FB"><br>
|
||||||
Disable realtime gamma correction: <input type="checkbox" name="RG"><br>
|
Disable realtime gamma correction: <input type="checkbox" name="RG"><br>
|
||||||
Realtime LED offset: <input name="WO" type="number" min="-255" max="255" required>
|
Realtime LED offset: <input name="WO" type="number" min="-255" max="255" required>
|
||||||
|
<div id="dmxInput"> <!--WLEDMM-->
|
||||||
|
<em>DMX Input Pins</em><br/>
|
||||||
|
DMX RX: <input name="IDMR" type="number" min="-1" max="99"><br/>
|
||||||
|
DMX TX: <input name="IDMT" type="number" min="-1" max="99"><br/>
|
||||||
|
DMX Enable: <input name="IDME" type="number" min="-1" max="99"><br/>
|
||||||
|
</div>
|
||||||
|
<div id="dmxInputOff"> <!--WLEDMM-->
|
||||||
|
<br><em style="color:darkorange">This firmware build does not include DMX Input support. <br></em>
|
||||||
|
</div>
|
||||||
|
<div id="dmxOnOff2"> <!--WLEDMM-->
|
||||||
|
<br><em style="color:darkorange">This firmware build does not include DMX output support. <br></em>
|
||||||
|
</div>
|
||||||
<hr class="sml">
|
<hr class="sml">
|
||||||
<h3>Alexa Voice Assistant</h3>
|
<h3>Alexa Voice Assistant</h3>
|
||||||
<div id="NoAlexa" class="hide">
|
<div id="NoAlexa" class="hide">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user