Show Art-Net starting universe
This commit is contained in:
@@ -251,6 +251,7 @@
|
|||||||
if (total_leds <= 1024) gId("dig"+n+"W").innerHTML += "<br />Art-Net is in broadcast mode.";
|
if (total_leds <= 1024) gId("dig"+n+"W").innerHTML += "<br />Art-Net is in broadcast mode.";
|
||||||
if (total_leds > 1024) gId("dig"+n+"W").innerHTML += "<br />You are sending a lot of broadcast data. Be cautious.";
|
if (total_leds > 1024) gId("dig"+n+"W").innerHTML += "<br />You are sending a lot of broadcast data. Be cautious.";
|
||||||
}
|
}
|
||||||
|
gId("dig"+n+"W").innerHTML += "<br />Art-Net starting universe is "+d.e131Universe+".";
|
||||||
}
|
}
|
||||||
if (!(t > 28 && t < 32)) d.getElementsByName("WO"+n)[0].value = 0; // reset swapping
|
if (!(t > 28 && t < 32)) d.getElementsByName("WO"+n)[0].value = 0; // reset swapping
|
||||||
gId("dig"+n+"c").style.display = ((t >= 40 && t < 48)||(t >= 100 && t < 110)) ? "none":"inline"; // hide count for analog and HUB75
|
gId("dig"+n+"c").style.display = ((t >= 40 && t < 48)||(t >= 100 && t < 110)) ? "none":"inline"; // hide count for analog and HUB75
|
||||||
|
|||||||
@@ -487,6 +487,11 @@ void getSettingsJS(AsyncWebServerRequest* request, byte subPage, char* dest) //W
|
|||||||
oappendi(bus->getMaxPixels()); oappend(SET_F(");"));
|
oappendi(bus->getMaxPixels()); oappend(SET_F(");"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
oappend(SET_F("d.e131Universe="));
|
||||||
|
oappendi(e131Universe); // Art-Net start universe
|
||||||
|
oappend(SET_F(";"));
|
||||||
|
|
||||||
sappend('v',SET_F("MA"),strip.ablMilliampsMax);
|
sappend('v',SET_F("MA"),strip.ablMilliampsMax);
|
||||||
sappend('v',SET_F("LA"),strip.milliampsPerLed);
|
sappend('v',SET_F("LA"),strip.milliampsPerLed);
|
||||||
if (strip.currentMilliamps)
|
if (strip.currentMilliamps)
|
||||||
|
|||||||
Reference in New Issue
Block a user